diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2010-08-02 22:39:30 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-08-03 13:59:47 -0700 |
commit | a5210c12b7c4e34e904f4820a4abd048a2d75db5 (patch) | |
tree | 9ab443a2bbddf4296bf4b7cf0914edfed51d86c3 /drivers/infiniband/hw/qib/qib.h | |
parent | 3e3aed0b88f680fed5c604caf7b10d77b2ec45c4 (diff) | |
download | blackbird-op-linux-a5210c12b7c4e34e904f4820a4abd048a2d75db5.tar.gz blackbird-op-linux-a5210c12b7c4e34e904f4820a4abd048a2d75db5.zip |
IB/qib: Fix race between qib_error_qp() and receive packet processing
When transitioning a QP to the error state, in progress RWQEs need to
be marked complete. This also involves releasing the reference count
to the memory regions referenced in the SGEs. The locking in the
receive packet processing wasn't sufficient to prevent qib_error_qp()
from modifying the r_sge state at the same time, thus leading to
kernel panics.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib.h')
0 files changed, 0 insertions, 0 deletions