Sean Hefty e07832b662 IPoIB: Fix race in detaching from mcast group before attaching
There's a race between ipoib_mcast_leave() and ipoib_mcast_join_finish()
where we can try to detach from a multicast group before we've
attached to it.  Fix this by reordering the code in ipoib_mcast_leave
to free the multicast group first, which waits for the multicast
callback thread (which calls ipoib_mcast_join_finish()) to complete
before detaching from the group.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-03-22 14:32:09 -07:00
..
2007-03-14 15:27:49 -07:00
2007-03-19 11:58:01 -04:00
2007-03-14 15:27:49 -07:00
2007-03-14 15:27:49 -07:00
2007-03-09 21:06:40 -05:00
2007-03-16 19:25:02 -07:00
2007-03-16 19:25:06 -07:00