RDMA/nes: Async event for closed QP causes crash
authorFaisal Latif <faisal.latif@intel.com>
Fri, 21 May 2010 21:55:03 +0000 (16:55 -0500)
committerRoland Dreier <rolandd@cisco.com>
Tue, 25 May 2010 04:12:54 +0000 (21:12 -0700)
Under abnormal termination, modify_qp() closes the QP, and async event
(AE) handling also attempts to close the same QP, causing a crash.
Fix this by checking the state of the QP before processing the AE.

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found