diff options
author | Eli Cohen <eli@mellanox.co.il> | 2006-04-05 13:59:40 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-04-10 18:43:58 +0200 |
commit | f2de3b06126ddb07d0e4617225d74dce0855add3 (patch) | |
tree | 21a62b2115804688d700c01ed2ede87413b5d9d1 /drivers/infiniband/hw | |
parent | IB: simplify static rate encoding (diff) | |
download | linux-f2de3b06126ddb07d0e4617225d74dce0855add3.tar.xz linux-f2de3b06126ddb07d0e4617225d74dce0855add3.zip |
IPoIB: Wait for join to finish before freeing mcast struct
ipoib_mcast_restart_task() might free an mcast object while a join
request is still outstanding, leading to an oops when the query
completes. Fix this by waiting for query to complete, similar to what
ipoib_stop_thread() is doing. The wait for mcast completion code is
consolidated in wait_for_mcast_join().
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions