[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180819.112759.972635376824399679.davem@davemloft.net>
Date: Sun, 19 Aug 2018 11:27:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanhaishuang@...s.chinamobile.com
Cc: steffen.klassert@...unet.com, kuznet@....inr.ac.ru,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] ip6_vti: fix creating fallback tunnel device for
vti6
From: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Date: Sun, 19 Aug 2018 15:05:05 +0800
> 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@...lder2 ~]# modprobe ip6_tunnel
> [root@...lder2 ~]# modprobe ip6_vti
> [root@...lder2 ~]# echo 1 > /proc/sys/net/core/fb_tunnels_only_for_init_net
> [root@...lder2 ~]# unshare -n
> [root@...lder2 ~]# 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@...s.chinamobile.com>
Applied.
Powered by blists - more mailing lists