diff options
| author | Vladimir Sokolovsky <[email protected]> | 2008-11-05 18:56:52 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2008-11-05 18:56:52 +0000 |
| commit | 7f3abf5c7c9a9febdd643b9d4005382144525475 (patch) | |
| tree | 0d6d1e93d8289dd31727b991ef9fc0dbc379b378 /net/unix/af_unix.c | |
| parent | mlx4_core: Fix unused variable warning (diff) | |
| download | kernel-7f3abf5c7c9a9febdd643b9d4005382144525475.tar.gz kernel-7f3abf5c7c9a9febdd643b9d4005382144525475.zip | |
IB/mlx4: Set umem field to NULL in mlx4_ib_alloc_fast_reg_mr()
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 <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
