RDMA/nes: Fix slab corruption
authorChien Tung <ctung@neteffect.com>
Fri, 10 Oct 2008 00:41:05 +0000 (17:41 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 10 Oct 2008 00:41:05 +0000 (17:41 -0700)
commitfbcffcc6a0536544fa53cd5bd5c4913efe1a5982
tree7d93347e1d86da8ea2ee5a89474d48621a7f89d2
parente2f5e7333a2fb51ef9e45280c3da9ca3bde65fde
RDMA/nes: Fix slab corruption

Referencing cm_node after it is freed via rem_ref_cm_node() causes a
slab corruption.  There is no need to set cm_node->cm_id to NULL in
mini_cm_close().

Signed-off-by: Chien Tung <ctung@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_cm.c