commit | 43093b941283b1b0c30213fe0f4f6f65c94d2d63 | [log] [tgz] |
---|---|---|
author | Faisal Latif <faisal.latif@intel.com> | Fri Feb 12 19:57:04 2010 +0000 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Feb 19 11:38:27 2010 -0800 |
tree | 2f2979f0bfbac6873768ead95d88e2861e9a568e | |
parent | 6e10d2e407542605b2bdca43dc88c35fa8bd24b2 [diff] |
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 <faisal.latif@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>