From: Faisal Latif Date: Wed, 9 Dec 2009 23:54:14 +0000 (-0800) Subject: RDMA/nes: Abnormal listener exit causes loopback node crash X-Git-Tag: v2.6.33-rc1~60^2^10~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9f3f1e08b4d66bfda2a0c2d49a26c80489a0725;p=pandora-kernel.git RDMA/nes: Abnormal listener exit causes loopback node crash When the listener is destroyed for a loopback connection, the listener node gets a reset event. This causes a crash as the listener is not expecting a reset event. Code review of cm_event_reset() during debugging showed the cm_id ref count is incremented after calling its event handler and not before. Signed-off-by: Faisal Latif Signed-off-by: Roland Dreier --- Reading git-diff-tree failed