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
..
2005-10-29 10:35:07 -07:00
2005-10-20 12:29:36 -07:00
2006-05-12 14:57:52 -07:00
2006-05-12 14:57:52 -07:00
2006-05-12 14:57:52 -07:00
2006-05-12 14:57:52 -07:00
2006-05-12 14:57:52 -07:00
2006-04-10 09:43:47 -07:00