Skip to content

Commit

Permalink
IPoIB: Retry failed send-only multicast group joins
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eli Cohen authored and Roland Dreier committed Sep 14, 2006
1 parent add7afc commit c11bd42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/infiniband/ulp/ipoib/ipoib_multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c11bd42

Please sign in to comment.