diff options
author | Andrew Lunn | 2016-04-21 12:57:27 +0200 |
---|---|---|
committer | Antonio Quartulli | 2016-05-10 12:26:44 +0200 |
commit | 2cd45a0671d9e37ab20e844fc4c84717a38b7f52 (patch) | |
tree | 942ed97ece08be93115eaebf09d98515ef45c608 /net/batman-adv/main.h | |
parent | batman-adv: NETIF_F_NETNS_LOCAL feature to prevent netns moves (diff) | |
download | kernel-qcow2-linux-2cd45a0671d9e37ab20e844fc4c84717a38b7f52.tar.gz kernel-qcow2-linux-2cd45a0671d9e37ab20e844fc4c84717a38b7f52.tar.xz kernel-qcow2-linux-2cd45a0671d9e37ab20e844fc4c84717a38b7f52.zip |
batman-adv: Create batman soft interfaces within correct netns.
When creating a soft interface, create it in the same netns as the
hard interface. Replace all references to init_net with the correct
name space for the interface being manipulated.
Suggested-by: Daniel Ehlers <danielehlers@mindeye.net>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat (limited to 'net/batman-adv/main.h')
0 files changed, 0 insertions, 0 deletions