Haishuang Yan
e2948e5af8
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>
2018-08-19 11:26:39 -07:00
..
2018-07-24 14:10:42 -07:00
2018-08-16 19:36:58 +02:00
2018-05-22 10:51:09 +02:00
2018-07-24 19:21:58 -07:00
2018-03-27 13:18:09 -04:00
2018-08-13 08:42:25 -07:00
2017-11-15 11:56:19 -08:00
2018-06-06 18:39:49 -07:00
2018-07-05 20:15:26 +09:00
2018-08-01 09:50:04 -07:00
2018-07-27 09:33:37 -07:00
2018-06-27 17:32:11 +02:00
2018-05-07 23:50:27 -04:00
2018-07-05 20:15:26 +09:00
2017-09-01 20:33:42 -07:00
2018-05-11 00:10:56 +02:00
2017-05-21 13:42:36 -04:00
2018-08-13 08:42:25 -07:00
2017-01-28 10:33:06 -05:00
2018-08-11 01:58:46 +02:00
2018-02-16 15:57:42 -05:00
2018-08-01 21:32:30 -07:00
2018-07-07 10:58:49 +09:00
2018-08-09 14:07:38 -07:00
2017-11-02 11:10:55 +01:00
2018-07-06 11:19:07 +09:00
2018-06-26 11:33:04 +09:00
2016-04-07 16:53:29 -04:00
2018-07-24 19:21:58 -07:00
2018-08-09 11:52:36 -07:00
2016-11-02 15:18:36 -04:00
2018-08-19 11:26:39 -07:00
2018-06-22 13:43:27 +09:00
2016-11-04 14:45:23 -04:00
2018-07-20 21:17:12 -07:00
2018-07-24 14:10:43 -07:00
2017-11-02 11:10:55 +01:00
2018-07-24 19:21:58 -07:00
2016-12-25 17:21:23 +01:00
2018-07-16 13:45:16 -07:00
2018-07-16 17:51:48 +02:00
2017-11-24 01:37:35 +09:00
2018-07-07 10:58:49 +09:00
2018-05-16 07:24:30 +02:00
2017-03-24 13:17:07 -07:00
2018-07-07 10:58:49 +09:00
2018-08-05 17:21:14 -07:00
2018-08-05 17:22:45 -07:00
2018-07-03 10:29:26 +09:00
2018-07-18 15:10:47 -07:00
2018-07-31 09:22:48 +02:00
2018-06-22 13:43:27 +09:00
2018-06-01 13:56:30 -04:00
2018-03-25 20:53:54 -04:00
2018-04-25 13:02:15 -04:00
2018-07-21 19:31:46 -07:00
2018-06-26 11:33:04 +09:00
2015-11-03 10:52:13 -05:00
2017-11-02 11:10:55 +01:00
2018-06-26 11:33:04 +09:00
2018-08-11 01:58:46 +02:00
2018-05-16 07:24:30 +02:00
2017-12-19 08:23:21 +01:00
2017-06-16 11:48:39 -04:00
2018-07-11 15:26:35 +02:00
2017-06-02 13:57:27 -04:00
2018-03-07 10:54:29 +01:00
2018-03-04 17:49:17 -05:00
2018-06-03 09:31:58 -04:00
2017-02-09 10:22:17 +01:00
2018-04-26 07:51:48 +02:00
2018-04-16 07:50:09 +02:00