]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: NETIF_F_NETNS_LOCAL feature to prevent netns moves
authorAndrew Lunn <andrew@lunn.ch>
Tue, 1 Mar 2016 21:19:05 +0000 (22:19 +0100)
committerAntonio Quartulli <a@unstable.cc>
Tue, 10 May 2016 10:26:44 +0000 (18:26 +0800)
commitfe5f4e1da44aa2c9b319bfb04338357bf413387b
tree7755549ddcb87ec2c30d3fe2513c0c1b05c5f987
parent6e56bc3607c079c896284e6df6b50991bb1e1b6a
batman-adv: NETIF_F_NETNS_LOCAL feature to prevent netns moves

The batX soft interface should not be moved between network name
spaces. This is similar to bridges, bonds, tunnels, which are not
allowed to move between network namespaces.

Suggested-by: Daniel Ehlers <danielehlers@mindeye.net>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Antonio Quartulli <a@unstable.cc>
Reviewed-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/soft-interface.c