batman-adv: check for more types of invalid IP addresses in DAT
authorMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 24 Jan 2013 17:18:26 +0000 (18:18 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Sun, 27 Jan 2013 13:02:39 +0000 (14:02 +0100)
commit757dd82ea7008ddaccfecff3397bec3e3203a89e
treebd590a987bff0d4b4a680afc681d0e062acdd0ca
parent0d15becee56fdfc2e9a4374c46ea7cf7562a6f32
batman-adv: check for more types of invalid IP addresses in DAT

There are more types of IP addresses that may appear in ARP packets that we
don't want to process. While some of these should never appear in sane ARP
packets, a 0.0.0.0 source is used for duplicate address detection and thus seen
quite often.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/distributed-arp-table.c