acrn-kernel/drivers/infiniband/core
Michael S. Tsirkin dc05980dd7 IB/mad: Fix oopsable race on device removal
Fix an oopsable race debugged by Eli Cohen <eli@mellanox.co.il>:
After removing the port from port_list, ib_mad_port_close flushes
port_priv->wq before destroying the special QPs. This means that a
completion event could arrive, and queue a new work in this work queue
after flush.

This patch also removes an unnecessary flush_workqueue():
destroy_workqueue() already includes a flush.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-03-20 10:08:25 -08:00
..
Makefile
agent.c IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
agent.h
cache.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cm.c IB/cm: Check cm_id state before handling a REP 2006-03-20 10:08:23 -08:00
cm_msgs.h
core_priv.h
device.c IB: convert from semaphores to mutexes 2006-01-13 14:51:39 -08:00
fmr_pool.c IB: Enable FMR pool user to set page size 2006-03-20 10:08:10 -08:00
mad.c IB/mad: Fix oopsable race on device removal 2006-03-20 10:08:25 -08:00
mad_priv.h IB/umad: Add support for large RMPP transfers 2006-03-20 10:08:23 -08:00
mad_rmpp.c IB/umad: Add support for large RMPP transfers 2006-03-20 10:08:23 -08:00
mad_rmpp.h
packer.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
sa_query.c IB/sa_query: Flush scheduled work before unloading module 2006-01-17 09:53:51 -08:00
smi.c
smi.h IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
sysfs.c IB: Coverity fixes to sysfs.c 2006-03-20 10:08:25 -08:00
ucm.c [PATCH] IB: fix up major/minor sysfs interface for IB core 2006-02-06 12:17:17 -08:00
ud_header.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
user_mad.c IB/umad: Add support for large RMPP transfers 2006-03-20 10:08:23 -08:00
uverbs.h IB/uverbs: Support for query SRQ from userspace 2006-03-20 10:08:14 -08:00
uverbs_cmd.c IB/uverbs: Use correct alt_pkey_index in modify QP 2006-03-20 10:08:24 -08:00
uverbs_main.c IB/uverbs: Support for query SRQ from userspace 2006-03-20 10:08:14 -08:00
uverbs_mem.c
verbs.c IB: Fix modify QP checking of "current QP state" attribute 2006-03-20 10:08:20 -08:00