linux-kernel-test/drivers/infiniband/ulp/ipoib
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_cm.c IPoIB/cm: Don't crash if remote side uses one QP for both directions 2007-05-06 21:18:11 -07:00
ipoib_fs.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipoib_ib.c Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2007-04-27 09:39:27 -07:00
ipoib_main.c IB/ipoib: Use ib_init_ah_from_path to initialize ah_attr 2007-04-24 16:31:12 -07:00
ipoib_multicast.c IPoIB: Fix race in detaching from mcast group before attaching 2007-03-22 14:32:09 -07:00
ipoib_verbs.c IPoIB: Only handle async events for one port 2007-02-27 07:37:49 -08:00
ipoib_vlan.c IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
ipoib.h IPoIB: Remove unused local_rate tracking 2007-02-21 20:28:05 -08:00
Kconfig IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
Makefile IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00