batman-adv: make DAT drop ARP requests targeting local clients
authorAntonio Quartulli <ordex@autistici.org>
Thu, 9 May 2013 07:35:45 +0000 (09:35 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Thu, 9 May 2013 10:39:45 +0000 (12:39 +0200)
commit88e48d7b3340ef07b108eb8a8b3813dd093cc7f7
tree4e966f7b203a37e4b1f03a95001c44c153ee30db
parent7da19971a9da9c5e63d259c9a8a566f071dc95d0
batman-adv: make DAT drop ARP requests targeting local clients

In the outgoing ARP request snooping routine in DAT, ARP
Request sent by local clients which are supposed to be
replied by other local clients can be silently dropped.

The destination host will reply by itself through the LAN
and therefore there is no need to involve DAT.

Reported-by: Carlos Quijano <carlos@crqgestion.es>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Tested-by: Carlos Quijano <carlos@crqgestion.es>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/distributed-arp-table.c