OpenCloudOS-Kernel/Documentation/admin-guide/sysctl
Mahesh Bandewar 316cdaa115 net: add option to not create fall-back tunnels in root-ns as well
The sysctl that was added  earlier by commit 79134e6ce2 ("net: do
not create fallback tunnels for non-default namespaces") to create
fall-back only in root-ns. This patch enhances that behavior to provide
option not to create fallback tunnels in root-ns as well. Since modules
that create fallback tunnels could be built-in and setting the sysctl
value after booting is pointless, so added a kernel cmdline options to
change this default. The default setting is preseved for backward
compatibility. The kernel command line option of fb_tunnels=initns will
set the sysctl value to 1 and will create fallback tunnels only in initns
while kernel cmdline fb_tunnels=none will set the sysctl value to 2 and
fallback tunnels are skipped in every netns.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Maciej Zenczykowski <maze@google.com>
Cc: Jian Yang <jianyang@google.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-28 06:52:44 -07:00
..
abi.rst docs: admin-guide: move sysctl directory to it 2019-07-15 11:03:01 -03:00
fs.rst Replace HTTP links with HTTPS ones: Documentation/admin-guide 2020-07-05 14:13:00 -06:00
index.rst docs: admin-guide: move sysctl directory to it 2019-07-15 11:03:01 -03:00
kernel.rst coredump: add %f for executable filename 2020-08-12 10:58:01 -07:00
net.rst net: add option to not create fall-back tunnels in root-ns as well 2020-08-28 06:52:44 -07:00
sunrpc.rst docs: admin-guide: move sysctl directory to it 2019-07-15 11:03:01 -03:00
user.rst time/namespace: Add max_time_namespaces ucount 2020-04-07 12:37:21 +02:00
vm.rst mm: proactive compaction 2020-08-12 10:57:56 -07:00