aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.c
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@meshcoding.com>2015-06-16 21:06:24 +0200
committerAntonio Quartulli <antonio@meshcoding.com>2015-08-05 00:31:46 +0200
commitf202a666e933f3c7557126d63833a6a3b577ac15 (patch)
tree3ea769ee1378f220cf6eab6c760caf3910c24008 /net/batman-adv/soft-interface.c
parentxen-netback: Allocate fraglist early to avoid complex rollback (diff)
downloadlinux-dev-f202a666e933f3c7557126d63833a6a3b577ac15.tar.xz
linux-dev-f202a666e933f3c7557126d63833a6a3b577ac15.zip
batman-adv: avoid DAT to mess up LAN state
When a node running DAT receives an ARP request from the LAN for the first time, it is likely that this node will request the ARP entry through the distributed ARP table (DAT) in the mesh. Once a DAT reply is received the asking node must check if the MAC address for which the IP address has been asked is local. If it is, the node must drop the ARP reply bceause the client should have replied on its own locally. Forwarding this reply means fooling any L2 bridge (e.g. Ethernet switches) lying between the batman-adv node and the LAN. This happens because the L2 bridge will think that the client sending the ARP reply lies somewhere in the mesh, while this node is sitting in the same LAN. Reported-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/soft-interface.c')
0 files changed, 0 insertions, 0 deletions