On Freitag, 16. März 2018 11:29:10 CET Matthias Schiffer wrote:
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.
Signed-off-by: Matthias Schiffer mschiffer@universe-factory.net
Fixes: 0591c25abca9 ("batman-adv: Distributed ARP Table - add ARP parsing functions")
Kind regards, Sven