diff options
author | Steve Wise <swise@opengridcomputing.com> | 2011-05-09 22:06:22 -0700 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-05-09 22:06:22 -0700 |
commit | d9594d990a528d4c444777d0f360bb50c6114825 (patch) | |
tree | 93b587a40d1bd17200f3076edc5a2c0f78feb230 /drivers/net/ks8851.h | |
parent | 85d215b0f316bee0a6936bd1a5f21abf03333eaa (diff) | |
download | op-kernel-dev-d9594d990a528d4c444777d0f360bb50c6114825.zip op-kernel-dev-d9594d990a528d4c444777d0f360bb50c6114825.tar.gz |
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/net/ks8851.h')
0 files changed, 0 insertions, 0 deletions