android_kernel_xiaomi_sm8350/drivers/infiniband/core
Roland Dreier 0cb4fe8d26 IB/uverbs: Don't leak ref to mm on error path
In ib_umem_release_on_close(), if the kmalloc() fails, then a
reference to current->mm will be leaked.  Fix this by adding a mmput()
instead of just returning on kmalloc() failure.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-05-17 22:20:50 -07:00
..
agent.c IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
agent.h
cache.c IB/cache: Use correct pointer to calculate size 2006-04-10 13:17:43 -07:00
cm_msgs.h
cm.c IB: refcount race fixes 2006-05-12 14:57:52 -07:00
core_priv.h
device.c
fmr_pool.c IB: Enable FMR pool user to set page size 2006-03-20 10:08:10 -08:00
mad_priv.h IB: refcount race fixes 2006-05-12 14:57:52 -07:00
mad_rmpp.c IB: refcount race fixes 2006-05-12 14:57:52 -07:00
mad_rmpp.h
mad.c IB: refcount race fixes 2006-05-12 14:57:52 -07:00
Makefile
packer.c
sa_query.c
smi.c
smi.h IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
sysfs.c IB: Fix display of 4-bit port counters in sysfs 2006-05-09 10:50:28 -07:00
ucm.c IB: refcount race fixes 2006-05-12 14:57:52 -07:00
ud_header.c
user_mad.c IB/mad: RMPP support for additional classes 2006-03-30 07:19:51 -08:00
uverbs_cmd.c IB/uverbs: Use correct alt_pkey_index in modify QP 2006-03-20 10:08:24 -08:00
uverbs_main.c IB/uverbs: Support for query SRQ from userspace 2006-03-20 10:08:14 -08:00
uverbs_mem.c IB/uverbs: Don't leak ref to mm on error path 2006-05-17 22:20:50 -07:00
uverbs.h IB/uverbs: Support for query SRQ from userspace 2006-03-20 10:08:14 -08:00
verbs.c IB: simplify static rate encoding 2006-04-10 09:43:47 -07:00