git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b0f5df
)
IB/mlx4: Set umem field to NULL in mlx4_ib_alloc_fast_reg_mr()
author
Vladimir Sokolovsky
<vlad@mellanox.co.il>
Wed, 5 Nov 2008 18:56:52 +0000
(10:56 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 5 Nov 2008 18:56:52 +0000
(10:56 -0800)
Set mr->umem to NULL in mlx4_ib_alloc_fast_reg_mr(). Otherwise
ib_dereg_mr() may invoke ib_umem_release() on a random pointer value
and get an oops.
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found