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-03-20 10:08:11 -08:00
2005-10-29 10:35:07 -07:00
2006-04-10 13:17:43 -07:00
2005-10-20 12:29:36 -07:00
2006-05-12 14:57:52 -07:00
2005-08-26 20:37:38 -07:00
2006-01-13 14:51:39 -08:00
2006-03-20 10:08:10 -08:00
2006-05-12 14:57:52 -07:00
2006-05-12 14:57:52 -07:00
2005-10-25 10:51:39 -07:00
2006-05-12 14:57:52 -07:00
2005-09-07 12:43:08 -07:00
2005-11-07 07:53:41 -08:00
2006-01-17 09:53:51 -08:00
2005-08-26 20:37:38 -07:00
2006-03-20 10:08:11 -08:00
2006-05-09 10:50:28 -07:00
2006-05-12 14:57:52 -07:00
2005-11-07 07:53:41 -08:00
2006-03-30 07:19:51 -08:00
2006-03-20 10:08:24 -08:00
2006-03-20 10:08:14 -08:00
2006-05-17 22:20:50 -07:00
2006-03-20 10:08:14 -08:00
2006-04-10 09:43:47 -07:00