linux-kernel-test/drivers/infiniband/ulp
Michael S. Tsirkin d6ef7d68f6 IPoIB/cm: Don't crash if remote side uses one QP for both directions
The IPoIB CM spec allows the use of a single connection in both
active->passive and passive->active directions.  The current Linux
code uses one connection for both directions, but if another node only
uses one connection for both directions, we oops when we try to look
up the passive connection.  Fix by checking that qp_context is
non-NULL before dereferencing it.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
2007-05-06 21:18:11 -07:00
..
ipoib IPoIB/cm: Don't crash if remote side uses one QP for both directions 2007-05-06 21:18:11 -07:00
iser IB/iser: Don't defer connection failure notification to workqueue 2007-04-05 09:46:04 -07:00
srp IB/srp: Don't wait for response when QP is in error state. 2007-02-04 14:11:56 -08:00