[openib-general] Re: [openib-commits] r922 - gen2/branches/roland-merge/src/linux-kernel/infiniband/core

Tom Duffy tduffy at sun.com
Mon Oct 4 08:59:27 PDT 2004


On Sun, 2004-10-03 at 11:12 -0700, roland at openib.org wrote:
> Remove code to calculate static LID base from IP address.  It's ugly,
> relies too much on net stack internals, and will never be accepted
> upstream anyway.  So save ourselves the headache of making it build.

OK, so the only patch now that you need to get openib building on 2.6.9-
r3 is the following:

Index: drivers/infiniband/ulp/ipoib/ipoib_multicast.c
===================================================================
--- drivers/infiniband/ulp/ipoib/ipoib_multicast.c	(revision 922)
+++ drivers/infiniband/ulp/ipoib/ipoib_multicast.c	(working copy)
@@ -823,7 +823,7 @@
 	list_for_each_entry(mcast, &priv->multicast_list, list)
 		clear_bit(IPOIB_MCAST_FLAG_FOUND, &mcast->flags);
 
-	read_lock(&in_dev->lock);
+	read_lock(&in_dev->mc_list_lock);
 
 	/* Mark all of the entries that are found or don't exist */
 	for (im = in_dev->mc_list; im; im = im->next) {
@@ -885,7 +885,7 @@
 		}
 	}
 
-	read_unlock(&in_dev->lock);
+	read_unlock(&in_dev->mc_list_lock);
 
 	/* Remove all of the entries don't exist anymore */
 	list_for_each_entry_safe(mcast, tmcast, &priv->multicast_list, list) {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20041004/cae276c4/attachment.sig>


More information about the general mailing list