batman-adv: Reject unicast packet with zero/mcast dst address
authorSven Eckelmann <sven@narfation.org>
Sat, 6 Aug 2016 15:04:23 +0000 (17:04 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 8 Nov 2016 18:02:36 +0000 (19:02 +0100)
commit93bbaab455f30fd43911e0881a02107a17150a62
treec300abd07ec9936f5b63f989b7228f27af0907be
parent92eef520d77d106d9ea06b17294c5079edefe95d
batman-adv: Reject unicast packet with zero/mcast dst address

An unicast batman-adv packet cannot be transmitted to a multicast or zero
mac address. So reject incoming packets which still have these classes of
addresses as destination mac address in the outer ethernet header.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/routing.c