android_kernel_xiaomi_sm8350/drivers/infiniband/core
Roland Dreier dae4c1d236 [PATCH] IB: Fix race in sa_query
Use a copy of the id we'll return to the consumer so that we don't
dereference query->sa_query after calling send_mad().  A completion may
occur very quickly and end up freeing the query before we get to do
anything after send_mad().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-27 15:11:47 -07:00
..
agent_priv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
agent.c [PATCH] IB: Remove incorrect comments 2005-04-16 15:26:12 -07:00
agent.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
core_priv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
device.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fmr_pool.c [PATCH] IB: Trivial FMR printk cleanup 2005-04-16 15:26:11 -07:00
mad_priv.h [PATCH] IB: Keep MAD work completion valid 2005-04-16 15:26:08 -07:00
mad.c [PATCH] IB: Remove incorrect comments 2005-04-16 15:26:12 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
packer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sa_query.c [PATCH] IB: Fix race in sa_query 2005-06-27 15:11:47 -07:00
smi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs.c [PATCH] sysfs: (rest) if show/store is missing return -EIO 2005-06-20 15:15:03 -07:00
ud_header.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
user_mad.c [PATCH] IB: fix potential ib_umad leak 2005-05-25 15:31:28 -07:00
verbs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00