]> err.no Git - linux-2.6/commitdiff
IPoIB: Retry failed send-only multicast group joins
authorEli Cohen <eli@mellanox.co.il>
Thu, 14 Sep 2006 20:51:41 +0000 (13:51 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 14 Sep 2006 20:51:41 +0000 (13:51 -0700)
When a send-only multicast group join fails, mcast->query must be set
to NULL.  Otherwise, IPoIB will never retry the join and the multicast
group will never be reachable.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_multicast.c

index b5e6a7be603df5388fb5d03ba55e997142babbe1..ec356ce7cdcdefc3fbb91d6f7e3b9bf8ea071a82 100644 (file)
@@ -326,6 +326,7 @@ ipoib_mcast_sendonly_join_complete(int status,
 
                /* Clear the busy flag so we try again */
                clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags);
+               mcast->query = NULL;
        }
 
        complete(&mcast->done);