[openib-general] [PATCH] ipoib sendonly join

Eli cohen eli at dev.mellanox.co.il
Thu Sep 14 08:47:58 PDT 2006


When sendonly join fails mcast->query must be set to NULL in
order that succeesive joins will be attempted for the group.

Signed-off-by: Eli Cohen <eli at mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>

Index: openib-1.1/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
===================================================================
--- openib-1.1.orig/drivers/infiniband/ulp/ipoib/ipoib_multicast.c	2006-09-12 14:28:33.000000000 +0300
+++ openib-1.1/drivers/infiniband/ulp/ipoib/ipoib_multicast.c	2006-09-14 17:17:12.000000000 +0300
@@ -326,6 +326,7 @@
 
 		/* Clear the busy flag so we try again */
 		clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags);
+		mcast->query = NULL;
 	}
 
 	complete(&mcast->done);






More information about the general mailing list