aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>2018-08-19 15:05:05 +0800
committerDavid S. Miller <davem@davemloft.net>2018-08-19 11:26:39 -0700
commite2948e5af8eeb6c945000772b7613b0323a0a203 (patch)
tree234e8c98ca4fff8799cb7bb2f23ba09126061cfb /tools/testing/selftests
parentip_vti: fix a null pointer deferrence when create vti fallback tunnel (diff)
downloadlinux-dev-e2948e5af8eeb6c945000772b7613b0323a0a203.tar.xz
linux-dev-e2948e5af8eeb6c945000772b7613b0323a0a203.zip
ip6_vti: fix creating fallback tunnel device for vti6
When set fb_tunnels_only_for_init_net to 1, don't create fallback tunnel device for vti6 when a new namespace is created. Tested: [root@builder2 ~]# modprobe ip6_tunnel [root@builder2 ~]# modprobe ip6_vti [root@builder2 ~]# echo 1 > /proc/sys/net/core/fb_tunnels_only_for_init_net [root@builder2 ~]# unshare -n [root@builder2 ~]# ip link 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions