]> 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)
commitdbe7acc2797a4333a02f3082e28030ac5e734973
tree1e5ae7b54923bdb79c43561eba920a746bc3c59a
parent36f6e2df772ae27e9838f363b5a5effd1a2bd994
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: 3454fb64112e ("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