[openib-general] [PATCH] ib_cm: fix module unload race with timewait

Jack Morgenstein jackm at dev.mellanox.co.il
Wed Oct 4 00:32:50 PDT 2006


On Saturday 30 September 2006 02:52, Sean Hefty wrote:
> 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 <sean.hefty at intel.com>

Erez, have you tried out the patch (with or without Roland's suggested modifications)?
If so, did it solve the problem?
(we think it most likely did, but we would like to know).

- Jack




More information about the general mailing list