linux/drivers/infiniband/ulp/ipoib
Jack Morgenstein 1401b53acc IPoIB: Fix oops if xmit is called when priv->broadcast is NULL
If a port goes down, ipoib_ib_dev_down() is invoked -- which flushes
the mcasts (clearing priv->broadcast) and clearing the path record
cache.  If ipoib_start_xmit() is then invoked (before the broadcast
group is rejoined), a kernel oops results from attempting to access
priv->broadcast, which is still unset.

Returning NULL from path_rec_create() if priv->broadcast is NULL is a
harmless way of bypassing the problem -- the offending packet is
simply discarded "without prejudice."

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-11-27 15:40:10 -08:00
..
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
ipoib.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2007-10-23 09:56:11 -07:00
ipoib_cm.c IPoIB/cm: Fix receive QP cleanup 2007-10-26 13:44:25 -07:00
ipoib_fs.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipoib_ib.c IPoIB/cm: Use common CQ for CM send completions 2007-10-19 21:39:34 -07:00
ipoib_main.c IPoIB: Fix oops if xmit is called when priv->broadcast is NULL 2007-11-27 15:40:10 -08:00
ipoib_multicast.c IB/ipoib: Bound the net device to the ipoib_neigh structue 2007-10-15 14:20:45 -04:00
ipoib_verbs.c IPoIB: Fix typo to end statement with ';' instead of ',' 2007-10-09 19:59:06 -07:00
ipoib_vlan.c IPoIB: Allow setting policy to ignore multicast groups 2007-10-10 13:02:30 -07:00