linux/drivers/infiniband/core
Roland Dreier eb9d3cd5ce [IB] uverbs: Fix up resource creation error paths
By waiting to add resources to our lists until after the last
operation that can fail, we don't have to remove them from their lists
in the error path.  Also, we should hold the idr mutex until we know
whether resource creation has succeed or failed, to avoid someone
finding a resource in our table before we're ready.

Loosely based on work by Robert Walsh <rjwalsh@pathscale.com>.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2005-10-17 15:20:25 -07:00
..
agent_priv.h [PATCH] IB: Add copyright notices 2005-08-26 20:37:35 -07:00
agent.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
agent.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
cm_msgs.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
cm.c [PATCH] IB: fix CM use-after-free 2005-09-09 20:52:00 -07:00
core_priv.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
device.c [PATCH] IB: Add copyright notices 2005-08-26 20:37:35 -07:00
fmr_pool.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mad_priv.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mad_rmpp.c [IB] Fix RMPP receive length calculation 2005-09-21 12:33:09 -07:00
mad_rmpp.h [PATCH] IB: Add RMPP implementation 2005-07-27 16:26:13 -07:00
mad.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
Makefile [PATCH] IB: clean up user access config options 2005-09-07 12:43:08 -07:00
packer.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
sa_query.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
smi.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
smi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs.c [PATCH] drivers: convert kcalloc to kzalloc 2005-09-07 16:57:46 -07:00
ucm.c [PATCH] IB: Add user-supplied context to userspace CM ABI 2005-09-07 09:48:52 -07:00
ucm.h [PATCH] IB: Add user-supplied context to userspace CM ABI 2005-09-07 09:48:52 -07:00
ud_header.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
user_mad.c [PATCH] IB: Fix data length for RMPP SA sends 2005-09-19 13:51:01 -07:00
uverbs_cmd.c [IB] uverbs: Fix up resource creation error paths 2005-10-17 15:20:25 -07:00
uverbs_main.c [IB] uverbs: ABI-breaking fixes for userspace verbs 2005-10-17 15:20:25 -07:00
uverbs_mem.c [PATCH] IB: Add copyright notices 2005-08-26 20:37:35 -07:00
uverbs.h [IB] uverbs: ABI-breaking fixes for userspace verbs 2005-10-17 15:20:25 -07:00
verbs.c [IB] Add checks to multicast attach and detach 2005-10-17 15:20:24 -07:00