OSDN Git Service

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)
commit92eef520d77d106d9ea06b17294c5079edefe95d
tree0df79f8290008f0d36b6186a66e921fd88dcdd60
parent9f75c8e1c8cc868645f34152df5ffd3fe97d1620
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