[PATCH] IPoIB: fix module removal race
authorMichael S. Tsirkin <mst@mellanox.co.il>
Mon, 12 Sep 2005 16:52:28 +0000 (09:52 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 19 Sep 2005 05:02:37 +0000 (22:02 -0700)
commit51574e0398a2d93cbf7f26e36b673cd919062268
treec8cb3e2331b71227109433ce3256c0a655506d69
parent6c0741fbdee5bd0f8ed13ac287c4ab18e8ba7d83
[PATCH] IPoIB: fix module removal race

Since ipoib uses queue_delayed_work to run flush task on port state events,
it must flush scheduled work after unregistering the event handler.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c