]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: fix DAT candidate selection (must use vid)
authorAntonio Quartulli <a@unstable.cc>
Sat, 12 Mar 2016 10:12:59 +0000 (11:12 +0100)
committerAntonio Quartulli <a@unstable.cc>
Fri, 29 Apr 2016 11:46:10 +0000 (19:46 +0800)
commit91f40f3cb7e3174abaf991cf18e223771aab9f53
tree1e5ae7b54923bdb79c43561eba920a746bc3c59a
parent2bdd89ea3fe090743d1287b8abf153abaaddc0ef
batman-adv: fix DAT candidate selection (must use vid)

Now that DAT is VLAN aware, it must use the VID when
computing the DHT address of the candidate nodes where
an entry is going to be stored/retrieved.

Fixes: a638e22a676f ("batman-adv: make the Distributed ARP Table vlan aware")
Signed-off-by: Antonio Quartulli <a@unstable.cc>
[sven@narfation.org: fix conflicts with current version]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/distributed-arp-table.c