From: Eli Cohen Date: Wed, 5 Apr 2006 11:59:40 +0000 (+0300) Subject: IPoIB: Wait for join to finish before freeing mcast struct X-Git-Tag: v2.6.17-rc2~79^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2de3b06126ddb07d0e4617225d74dce0855add3;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed