batman-adv: Disallow mcast src address for data frames
authorSven Eckelmann <sven@narfation.org>
Sat, 6 Aug 2016 15:04:21 +0000 (17:04 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 8 Nov 2016 18:02:35 +0000 (19:02 +0100)
commit9f75c8e1c8cc868645f34152df5ffd3fe97d1620
tree7247555c5ef60368820eee67e832735f036410bb
parent7d72d174c7b6e3641bf13d1816f672051f6480b4
batman-adv: Disallow mcast src address for data frames

The routing checks are validating the source mac address of the outer
ethernet header. They reject every source mac address which is a broadcast
address. But they also have to reject any multicast mac addresses.

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