commit | f9f3f1e08b4d66bfda2a0c2d49a26c80489a0725 | [log] [tgz] |
---|---|---|
author | Faisal Latif <faisal.latif@intel.com> | Wed Dec 09 15:54:14 2009 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Dec 09 15:54:14 2009 -0800 |
tree | 22b2c03874a49781f9c9681aad807d75b572c316 | |
parent | c5a7d4897156667a58fd8479f6227143573fe82d [diff] |
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 <faisal.latif@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>