summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/user.h
diff options
context:
space:
mode:
authorSteve Wise2010-07-23 21:12:27 +0200
committerRoland Dreier2010-08-03 06:06:06 +0200
commit73d6fcad2ac84b6fad326d87dc1dd0b29aabbd34 (patch)
treec603099ce2df83cf11e311073e13e2b66d8f3f71 /drivers/infiniband/hw/cxgb4/user.h
parentRDMA/cxgb4: Support variable sized work requests (diff)
downloadkernel-qcow2-linux-73d6fcad2ac84b6fad326d87dc1dd0b29aabbd34.tar.gz
kernel-qcow2-linux-73d6fcad2ac84b6fad326d87dc1dd0b29aabbd34.tar.xz
kernel-qcow2-linux-73d6fcad2ac84b6fad326d87dc1dd0b29aabbd34.zip
RDMA/cxgb4: Fix race in fini path
There exists a race condition where the app disconnects, which initiates an orderly close (via rdma_fini()), concurrently with an ingress abort condition, which initiates an abortive close operation. Since rdma_fini() must be called without IRQs disabled, the fini can be called after the QP has been transitioned to ERROR. This is ok, but we need to protect against qp->ep getting NULLed. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/user.h')
0 files changed, 0 insertions, 0 deletions