commit | 7f3abf5c7c9a9febdd643b9d4005382144525475 | [log] [tgz] |
---|---|---|
author | Vladimir Sokolovsky <vlad@mellanox.co.il> | Wed Nov 05 10:56:52 2008 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Nov 05 10:56:52 2008 -0800 |
tree | 0d6d1e93d8289dd31727b991ef9fc0dbc379b378 | |
parent | 7b0f5df4c88bac46fe749d36d905fc7ad0296587 [diff] |
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 <vlad@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>