summaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2012-03-07 23:48:11 +0100
committerRoland Dreier <roland@purestorage.com>2012-03-08 00:14:53 +0100
commit3eae7c9f97415ac1f5ab5db4eeb03cde689eb427 (patch)
treefa29c0cc9e465395808607cc9506445ba7473729 /include/rdma/ib_verbs.h
parentmlx4_core: Get rid of redundant ext_port_cap flags (diff)
downloadlinux-3eae7c9f97415ac1f5ab5db4eeb03cde689eb427.tar.xz
linux-3eae7c9f97415ac1f5ab5db4eeb03cde689eb427.zip
RDMA/iwcm: Reject connect requests if cmid is not in LISTEN state
When destroying a listening cmid, the iwcm first marks the state of the cmid as DESTROYING, then releases the lock and calls into the iWARP provider to destroy the endpoint. Since the cmid is not locked, its possible for the iWARP provider to pass a connection request event to the iwcm, which will be silently dropped by the iwcm. This causes the iWARP provider to never free up the resources from this connection because the assumption is the iwcm will accept or reject this connection. The solution is to reject these connection requests. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
0 files changed, 0 insertions, 0 deletions