]> 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)
commitb2e66850439efb982b0e1e3bd87938c8966ff471
tree4f2d3ac5c04efb67a9b70cc6ea53202911261e95
parent10f364ee1c4afe23778b2650f026fc227899f373
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: 4dc60fd873af ("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