]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Clean up untagged vlan when destroying via rtnl-link
authorSven Eckelmann <sven@narfation.org>
Sun, 26 Jun 2016 09:16:13 +0000 (11:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2016 08:01:48 +0000 (04:01 -0400)
commit420cb1b764f9169c5d2601b4af90e4a1702345ee
tree4f2d3ac5c04efb67a9b70cc6ea53202911261e95
parent3b55e4422087f9f7b241031d758a0c65584e4297
batman-adv: Clean up untagged vlan when destroying via rtnl-link

The untagged vlan object is only destroyed when the interface is removed
via the legacy sysfs interface. But it also has to be destroyed when the
standard rtnl-link interface is used.

Fixes: 5d2c05b21337 ("batman-adv: add per VLAN interface attribute framework")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Acked-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/batman-adv/soft-interface.c