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_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
cm.c IB/cm: Destroy idr as part of the module init error flow 2012-07-11 09:22:58 -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_priv.h
mad_rmpp.c
mad_rmpp.h
mad.c
Makefile
multicast.c
netlink.c
packer.c
sa_query.c IB/sa: Add GuidInfoRecord query support 2012-07-08 18:05:06 -07:00
sa.h
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
user_mad.c
uverbs_cmd.c
uverbs_main.c
uverbs_marshall.c
uverbs.h
verbs.c