diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2005-08-24 21:41:51 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-08-27 03:37:38 (GMT) |
commit | 1ad62a19f177e61d4dde111ba35fb4badd0c2106 (patch) | |
tree | e427260a9049b1300fe69c7542bdb4a85fa2fa9a /drivers/infiniband/core/uverbs.h | |
parent | fe9e08e17af414a5fd8f3141b0fd88677f81a883 (diff) | |
download | linux-fsl-qoriq-1ad62a19f177e61d4dde111ba35fb4badd0c2106.tar.xz |
[PATCH] IPoIB: Fix device removal race
Currently we may have work scheduled in default kernel workqueue when
the device is going down. The device could get freed before this
workqueue gets serviced. I am actually seeing this causing system
hangs.
The following patch fixes this by using ipoib_workqueue which gets
flushed when the device is going down.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs.h')
0 files changed, 0 insertions, 0 deletions