batman-adv: change the MAC of each VLAN upon ndo_set_mac_address
authorAntonio Quartulli <antonio@open-mesh.com>
Mon, 31 Mar 2014 11:48:10 +0000 (13:48 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Sun, 7 Jun 2015 15:07:20 +0000 (17:07 +0200)
commit94d1dd87316fdb7a403a2750e13ec839fd2fadea
tree85b0b4e7ce81bba2d57cae5781818153ab9de435
parent7dac6d9391b89fd85bb5eddd18506ae759c9a57b
batman-adv: change the MAC of each VLAN upon ndo_set_mac_address

The MAC address of the soft-interface is used to initialise
the "non-purge" TT entry of each existing VLAN. Therefore
when the user invokes ndo_set_mac_address() all the
"non-purge" TT entries have to be updated, not only the one
belonging to the non-tagged network.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/soft-interface.c