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)
commit2871734e85e920503d49b3a8bc0afbe0773b6036
tree1e5ae7b54923bdb79c43561eba920a746bc3c59a
parent1dfcd832b1a9ed45edac15b31d079b805fa0ae2a
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: be1db4f6615b ("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