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
..
2006-04-11 06:18:46 -07:00
2006-05-03 20:05:41 -07:00
2006-04-11 06:18:40 -07:00
2006-04-11 06:18:43 -07:00
2006-05-01 18:17:46 -07:00
2006-05-03 20:05:41 -07:00
2006-05-12 11:58:10 -07:00
2006-03-24 18:23:14 +01:00
2006-04-21 10:59:00 -07:00