linux/drivers/infiniband/core
Tatyana Nikolova 418edaaba9 RDMA/ucma.c: Fix for events with wrong context on iWARP
It is possible for asynchronous RDMA_CM_EVENT_ESTABLISHED events to be
generated with ctx->uid == 0, because ucma_set_event_context() copies
ctx->uid to the event structure outside of ctx->file->mut.  This leads
to a crash in the userspace library, since it gets a bogus event.

Fix this by taking the mutex a bit earlier in ucma_event_handler.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Signed-off-by: Sean Hefty <Sean.Hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-08-13 13:08:35 -07:00
..
addr.c IB: Use IS_ENABLED(CONFIG_IPV6) 2012-07-08 18:04:32 -07:00
agent.c
agent.h
cache.c
cm.c IB/cm: Destroy idr as part of the module init error flow 2012-07-11 09:22:58 -07:00
cm_msgs.h IB/core: Move CM_xxx_ATTR_ID macros from cm_msgs.h to ib_cm.h 2012-07-08 18:05:06 -07:00
cma.c RDMA/cma: Use PTR_RET rather than if (IS_ERR(...)) + PTR_ERR 2012-07-27 13:05:18 -07:00
core_priv.h
device.c
fmr_pool.c
iwcm.c
iwcm.h
mad.c IB/mad: Don't send response for failed MADs 2012-04-24 16:08:57 -07:00
mad_priv.h
mad_rmpp.c
mad_rmpp.h
Makefile
multicast.c
netlink.c netlink: add netlink_kernel_cfg parameter to netlink_kernel_create 2012-06-29 16:46:02 -07:00
packer.c
sa.h
sa_query.c IB/sa: Add GuidInfoRecord query support 2012-07-08 18:05:06 -07:00
smi.c
smi.h
sysfs.c
ucm.c
ucma.c RDMA/ucma.c: Fix for events with wrong context on iWARP 2012-08-13 13:08:35 -07:00
ud_header.c
umem.c IB/core: Fix mismatch between locked and pinned pages 2012-05-11 11:38:22 -07:00
user_mad.c
uverbs.h
uverbs_cmd.c Merge branches 'core', 'cxgb4', 'ipath', 'iser', 'lockdep', 'mlx4', 'nes', 'ocrdma', 'qib' and 'raw-qp' into for-linus 2012-05-21 09:00:47 -07:00
uverbs_main.c
uverbs_marshall.c
verbs.c Merge branches 'core', 'cxgb4', 'ipath', 'iser', 'lockdep', 'mlx4', 'nes', 'ocrdma', 'qib' and 'raw-qp' into for-linus 2012-05-21 09:00:47 -07:00