linux-stable-rt/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
..
Makefile
agent.c
agent.h
cache.c
cm.c
cm_msgs.h
core_priv.h
device.c
fmr_pool.c
mad.c
mad_priv.h
mad_rmpp.c
mad_rmpp.h
packer.c
sa_query.c
smi.c
smi.h
sysfs.c
ucm.c
ud_header.c
user_mad.c
uverbs.h
uverbs_cmd.c
uverbs_main.c
uverbs_mem.c IB/uverbs: Don't leak ref to mm on error path 2006-05-17 22:20:50 -07:00
verbs.c