]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Disallow zero and mcast src address for mgmt frames
authorSven Eckelmann <sven@narfation.org>
Sat, 6 Aug 2016 15:04:22 +0000 (17:04 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 8 Nov 2016 18:02:35 +0000 (19:02 +0100)
commit1aa9dc70f66042333ec99aa01eb59751589dee48
tree0df79f8290008f0d36b6186a66e921fd88dcdd60
parent2328dadf9367480acfd03f9fac10354e62b0fade
batman-adv: Disallow zero and mcast src address for mgmt frames

The routing check for management frames is validating the source mac
address in the outer ethernet header. It rejects every source mac address
which is a broadcast address. But it also has to reject the zero-mac
address and multicast mac addresses.

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