aboutsummaryrefslogtreecommitdiff
path: root/include/asm-frv/cpu-irqs.h
diff options
context:
space:
mode:
authorSean Hefty <sean.hefty@intel.com>2008-02-22 10:40:45 -0800
committerRoland Dreier <rolandd@cisco.com>2008-02-29 13:27:52 -0800
commit84ba284cd78c130818e2de53150f39b92504593b (patch)
tree28d0af4c0bd5ff24eb3aa988464fff8641d64248 /include/asm-frv/cpu-irqs.h
parent18b8c8f170ce346b88884ebe4060cd6dbe64e1cc (diff)
IB/cm: Flush workqueue when removing device
When a CM MAD is received, it is queued to a CM workqueue for processing. The queued work item references the port and device on which the MAD was received. If that device is removed from the system before the work item can execute, the work item will reference freed memory. To fix this, flush the workqueue after unregistering to receive MAD, and before the device is be freed. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/asm-frv/cpu-irqs.h')
0 files changed, 0 insertions, 0 deletions