Files
twx-linux/net
Matthias Schiffer e89d4eec3e batman-adv: fix header size check in batadv_dbg_arp()
[ Upstream commit 6f27d2c2a8 ]

Checking for 0 is insufficient: when an SKB without a batadv header, but
with a VLAN header is received, hdr_size will be 4, making the following
code interpret the Ethernet header as a batadv header.

Fixes: be1db4f661 ("batman-adv: make the Distributed ARP Table vlan aware")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:49:05 +02:00
..
…
…
2018-05-16 10:06:51 +02:00
…
…
…
…
2018-05-26 08:48:46 +02:00
…
…
2018-05-30 07:49:02 +02:00
…
…
…
2018-05-26 08:48:46 +02:00
2018-05-30 07:48:59 +02:00
2018-05-30 07:48:56 +02:00
…
2018-04-24 09:32:11 +02:00
…
2018-02-25 11:03:37 +01:00
…
…