summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.co.il>2006-09-14 13:51:41 -0700
committerRoland Dreier <rolandd@cisco.com>2006-09-14 13:51:41 -0700
commitc11bd42a7676b49d41c780f2ede3709204f8da83 (patch)
treefded697bd64eb3aa9796d1a2a363b8568d7fc64e /drivers
parentadd7afc756eddd5d02fd986d19e6300b3e1a5ae8 (diff)
downloadop-kernel-dev-c11bd42a7676b49d41c780f2ede3709204f8da83.zip
op-kernel-dev-c11bd42a7676b49d41c780f2ede3709204f8da83.tar.gz
IPoIB: Retry failed send-only multicast group joins
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_multicast.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
index b5e6a7b..ec356ce 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
@@ -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);
OpenPOWER on IntegriCloud