android_kernel_xiaomi_sm8350/drivers/infiniband/core
Dave Olson 5a4f2b6752 IB/mad: Fix kernel crash when .process_mad() returns SUCCESS|CONSUMED
If a low-level driver returns IB_MAD_RESULT_SUCCESS | IB_MAD_RESULT_CONSUMED,
handle_outgoing_dr_smp() doesn't clean up properly.  The fix is to
kfree the local data and break, rather than falling through.  This was
observed with the ipath driver, but could happen with any driver.

This fixes <https://bugs.openfabrics.org/show_bug.cgi?id=1027>.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-05-23 10:52:59 -07:00
..
addr.c trivial endianness annotations: infiniband core 2008-03-30 14:20:24 -07:00
agent.c
agent.h
cache.c
cm_msgs.h
cm.c IB/cm: Endianness annotations 2008-04-16 21:01:07 -07:00
cma.c RDMA/iwcm: Test rdma_create_id() for IS_ERR rather than 0 2008-04-16 21:09:25 -07:00
core_priv.h
device.c
fmr_pool.c IB: Use shorter list_splice_init() for brevity 2008-04-16 21:09:26 -07:00
iwcm.c RDMA/iwcm: Don't access a cm_id after dropping reference 2008-03-10 21:22:22 -07:00
iwcm.h
mad_priv.h
mad_rmpp.c
mad_rmpp.h
mad.c IB/mad: Fix kernel crash when .process_mad() returns SUCCESS|CONSUMED 2008-05-23 10:52:59 -07:00
Makefile
multicast.c
packer.c
sa_query.c
sa.h
smi.c
smi.h
sysfs.c IB: convert struct class_device to struct device 2008-04-19 19:10:30 -07:00
ucm.c IB: convert struct class_device to struct device 2008-04-19 19:10:30 -07:00
ucma.c RDMA/ucma: Endian annotation 2008-04-16 21:01:07 -07:00
ud_header.c
umem.c IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
user_mad.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6 2008-04-21 15:49:58 -07:00
uverbs_cmd.c IB/core: Add support for "send with invalidate" work requests 2008-04-16 21:09:32 -07:00
uverbs_main.c IB: convert struct class_device to struct device 2008-04-19 19:10:30 -07:00
uverbs_marshall.c
uverbs.h IB: convert struct class_device to struct device 2008-04-19 19:10:30 -07:00
verbs.c IB/core: Add support for modify CQ 2008-04-16 21:09:33 -07:00