From: Faisal Latif Date: Fri, 12 Feb 2010 19:57:04 +0000 (+0000) Subject: RDMA/nes: Fix crash when listener destroyed during loopback setup X-Git-Tag: v2.6.34-rc1~225^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43093b941283b1b0c30213fe0f4f6f65c94d2d63;p=pandora-kernel.git RDMA/nes: Fix crash when listener destroyed during loopback setup When a listener is destroyed and there is an MPA response pending for loopback connection, the active side cm_node gets destroyed twice: once in cm_event_connect_error() and again in nes_accept()/nes_reject(). Increment the cm_node's refcount so it's not destroyed by cm_event_connect_error(). Signed-off-by: Faisal Latif Signed-off-by: Roland Dreier --- Reading git-diff-tree failed