linux/drivers/infiniband/ulp
Michael S. Tsirkin 3ec7393a68 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>
2007-06-21 13:03:50 -07:00
..
ipoib IPoIB/cm: Initialize RX before moving QP to RTR 2007-06-21 13:03:50 -07:00
iser header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
srp IB: Add CQ comp_vector support 2007-05-06 21:18:11 -07:00