linux-stable/drivers/infiniband
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
..
core IB: Set class_dev->dev in core for nice device symlink 2007-04-24 21:30:38 -07:00
hw RDMA/cxgb3: Support for new abort logic 2007-05-06 21:18:08 -07:00
ulp IPoIB/cm: Don't crash if remote side uses one QP for both directions 2007-05-06 21:18:11 -07:00
Kconfig RDMA/cxgb3: Add driver for Chelsio T3 RNIC 2007-02-12 16:16:18 -08:00
Makefile RDMA/cxgb3: Add driver for Chelsio T3 RNIC 2007-02-12 16:16:18 -08:00