diff options
| author | Sean Hefty <sean.hefty@intel.com> | 2007-03-20 01:31:36 +0300 |
|---|---|---|
| committer | Roland Dreier <rolandd@cisco.com> | 2007-03-23 00:32:09 +0300 |
| commit | e07832b66285124038a96b25a2056e91a55d8b1e (patch) | |
| tree | ff6a8d6cd476a830610a83a558861d05b4026fff /scripts/basic | |
| parent | 60a596dab7c82bdfa5ee7abcee8e0ce385d4ef21 (diff) | |
| download | linux-e07832b66285124038a96b25a2056e91a55d8b1e.tar.xz | |
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>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
