From: Sean Hefty Date: Wed, 4 Oct 2006 18:29:59 +0000 (-0700) Subject: IB/cm: Fix timewait crash after module unload X-Git-Tag: v2.6.19-rc2~201 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8575329d4f8596519d86830f622d2c30601f3ef3;p=pandora-kernel.git IB/cm: Fix timewait crash after module unload If the ib_cm module is unloaded while id's are still in timewait, the CM will destroy the work queue used to process timewait. Once the id's exit timewait, their timers will fire, leading to a crash trying to access the destroyed work queue. We need to track id's that are in timewait, and cancel their deferred work on module unload. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier --- Reading git-diff-tree failed