From: Vladimir Sokolovsky Date: Wed, 5 Nov 2008 18:56:52 +0000 (-0800) Subject: IB/mlx4: Set umem field to NULL in mlx4_ib_alloc_fast_reg_mr() X-Git-Tag: v2.6.28-rc5~61^2^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f3abf5c7c9a9febdd643b9d4005382144525475;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed