diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-07-10 15:47:57 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-08-09 07:54:53 +0200 |
commit | 06d640c9aad6d96713ea2fbe36f5a344428ccd57 (patch) | |
tree | 0b8ed43a173941be88841bde65bc98b77a569c84 /init | |
parent | 27d684ec5bc7caf8a72a7a0383fa3e1631ee2b25 (diff) | |
download | linux-stable-06d640c9aad6d96713ea2fbe36f5a344428ccd57.tar.gz linux-stable-06d640c9aad6d96713ea2fbe36f5a344428ccd57.tar.bz2 linux-stable-06d640c9aad6d96713ea2fbe36f5a344428ccd57.zip |
batman-adv: Keep batadv netdev when hardif disappears
Switch-like virtual interfaces like bridge or openvswitch don't destroy
itself when all their attached netdevices dissappear. Instead they only
remove the link to the unregistered device and keep working until they get
removed manually.
This has the benefit that all configurations for this interfaces are kept
and daemons reacting to rtnl events can just add new slave interfaces
without going through the complete configuration of the switch-like
netdevice.
Handling unregister events of client devices similar in batman-adv allows
users to drop their current workaround of dummy netdevices attached to
batman-adv soft-interfaces.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions