kernel-hacking-2024-linux-s.../drivers/infiniband
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
..
core IB/uverbs: Don't leak ref to mm on error path 2006-05-17 22:20:50 -07:00
hw IB/mthca: Make fw_cmd_doorbell default to 0 2006-05-17 07:48:07 -07:00
ulp IB/srp: Complete correct SCSI commands on device reset 2006-05-17 09:20:48 -07:00
Kconfig IB/ipath: kbuild infrastructure 2006-03-31 13:14:21 -08:00
Makefile IB/ipath: kbuild infrastructure 2006-03-31 13:14:21 -08:00