linux-kernel-test/drivers/infiniband/ulp/ipoib
Michael S. Tsirkin 77d8e1efea IB/ipoib: Fix thinko in packet length checks
The packet length checks in ipoib are broken: we add 4 bytes (IPoIB
encapsulation header) when sending a packet, not 20 bytes (hardware
address length) to each packet.  Therefore, if connected mode is
enabled so that the interface MTU is larger than the multicast MTU,
IPoIB may end up trying to send too-long multicast packets.  For
example, multicast is broken if a message of size 2048 bytes is sent
on an interface with UD MTU 2048, because 2048 is bigger than the real
limit of 2044 but the code tests against the wrong limit of 2060.

This patch fixes <https://bugs.openfabrics.org/show_bug.cgi?id=418>,
submitted by Scott Weitzenkamp <sweitzen@cisco.com>.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-03-22 14:40:16 -07:00
..
ipoib_cm.c IB/ipoib: Fix thinko in packet length checks 2007-03-22 14:40:16 -07:00
ipoib_fs.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipoib_ib.c IB/ipoib: Fix thinko in packet length checks 2007-03-22 14:40:16 -07:00
ipoib_main.c IPoIB: Fix use-after-free in path_rec_completion() 2007-03-22 14:40:16 -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