aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/device.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2011-05-09 22:06:22 -0700
committerRoland Dreier <roland@purestorage.com>2011-05-09 22:06:22 -0700
commitd9594d990a528d4c444777d0f360bb50c6114825 (patch)
tree93b587a40d1bd17200f3076edc5a2c0f78feb230 /drivers/infiniband/hw/cxgb4/device.c
parentRDMA/cxgb4: Fix missing parentheses (diff)
downloadlinux-dev-d9594d990a528d4c444777d0f360bb50c6114825.tar.xz
linux-dev-d9594d990a528d4c444777d0f360bb50c6114825.zip
RDMA/cxgb4: Reset wait condition atomically
The driver was never really waiting for RDMA_WR/FINI completions because the condition variable used to determine if the completion happened was never reset, and this condition variable is reused for both connection setup and teardown. This causes various driver crashes under heavy loads due to releasing resources too early. The fix is to use atomic bits to correctly reset the condition immediately after the completion is detected. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/device.c')
0 files changed, 0 insertions, 0 deletions