RDMA/iwcm: Reject the connection when the cm_id is destroyed
authorSteve Wise <swise@opengridcomputing.com>
Wed, 9 Sep 2009 18:37:38 +0000 (11:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 9 Sep 2009 18:37:38 +0000 (11:37 -0700)
commitcb58160e72244a23f4e0cf4d6f81ffbd131fcd51
tree5a23970a4beb9c4aedb4c68fe2949bafc3864ba4
parente6cc0fd1e31cfe48e207de78742ccdf301369bf3
RDMA/iwcm: Reject the connection when the cm_id is destroyed

If the cm_id of a connect request is destroyed prior to the ULP
accepting or rejecting the connection, then the provider never cleans
up the connection.  The iwcm should explicitly reject these
connections if the cm_id is destroyed.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/iwcm.c