1
linux/drivers/infiniband/core
Jack Morgenstein fd60ae404f IB/uverbs: Avoid a crash on device hot remove
Wait until all users have closed their device context before allowing
device unregistration to complete.  This prevents a crash caused by
referring to stale data structures.

A better solution would be to have a way to revoke contexts rather
than waiting for userspace to close the context, but that's a much
bigger change that will have to wait.  For now let's at least avoid
the crash.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-08-03 10:56:42 -07:00
..
addr.c [NET] infiniband: Cleanup ib_addr module to use the netevents 2006-08-02 13:38:22 -07:00
agent.c IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
agent.h [PATCH] missing include in infiniband 2005-10-29 10:35:07 -07:00
cache.c IB: Add caching of ports' LMC 2006-06-17 20:37:34 -07:00
cm_msgs.h [IB] cm: Add missing break in switch 2005-10-20 12:29:36 -07:00
cm.c IB/cm: Fix error handling in ib_send_cm_req 2006-08-03 09:44:22 -07:00
cma.c [PATCH] IB/cm: set private data length for reject messages 2006-07-14 21:53:50 -07:00
core_priv.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
device.c IB: convert from semaphores to mutexes 2006-01-13 14:51:39 -08:00
fmr_pool.c [PATCH] fmr pool: remove unnecessary pointer dereference 2006-07-14 21:53:51 -07:00
mad_priv.h IB: Make needlessly global ib_mad_cache static 2006-06-17 20:37:31 -07:00
mad_rmpp.c [PATCH] drivers: use list_move() 2006-06-26 09:58:18 -07:00
mad_rmpp.h [IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped 2005-10-25 10:51:39 -07:00
mad.c IB/mad: Validate MADs for spec compliance 2006-07-24 09:18:07 -07:00
Makefile IB: IP address based RDMA connection manager 2006-06-17 20:37:29 -07:00
packer.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
sa_query.c [PATCH] IB/core: use correct gfp_mask in sa_query 2006-07-14 21:53:51 -07:00
smi.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
smi.h IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
sysfs.c IB: Fix display of 4-bit port counters in sysfs 2006-05-09 10:50:28 -07:00
ucm.c IB/ucm: Get rid of duplicate P_Key parameter 2006-06-17 20:37:39 -07:00
ud_header.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
user_mad.c IB/mad: Validate MADs for spec compliance 2006-07-24 09:18:07 -07:00
uverbs_cmd.c IB/uverbs: Fix lockdep warnings 2006-07-23 15:16:04 -07:00
uverbs_main.c IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
uverbs_marshall.c IB: common handling for marshalling parameters to/from userspace 2006-06-17 20:37:27 -07:00
uverbs_mem.c IB/uverbs: Don't leak ref to mm on error path 2006-05-17 22:20:50 -07:00
uverbs.h IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
verbs.c IB: Add ib_init_ah_from_wc() 2006-06-17 20:37:39 -07:00