diff options
author | Michael S. Tsirkin <mst@dev.mellanox.co.il> | 2007-06-19 13:40:41 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-06-21 13:03:50 -0700 |
commit | 3ec7393a6858a1716e74aa81be6af76fd180021d (patch) | |
tree | 2f797894f98a1321605dbcf2610c6349bd92003a /scripts | |
parent | 24bce5080306bd5255cbda3d6b09a29d5515b470 (diff) |
IPoIB/cm: Initialize RX before moving QP to RTR
Fix a crasher bug in IPoIB CM: once a QP is in the RTR state, a
receive completion (or even an asynchronous error) might be observed
on this QP, so we have to initialize all of our receive data
structures before moving to the RTR state.
As an optimization (since modify_qp might take a long time), the
jiffies update done when moving RX to the passive_ids list is also
left in place to reduce the chance of the RX being misdetected as
stale.
This fixes bug <https://bugs.openfabrics.org/show_bug.cgi?id=662>.
Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions