aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMahesh Bandewar <[email protected]>2020-08-26 09:05:35 -0700
committerDavid S. Miller <[email protected]>2020-08-28 06:52:44 -0700
commit316cdaa1158af17250397054f92bb339fbd8e282 (patch)
tree3dd6ca9b7e7397905681871b87a95517a168fa26 /tools/perf/scripts/python
parent0baf01942d3dc52ea7f52c34cb88c6be39de6129 (diff)
net: add option to not create fall-back tunnels in root-ns as well
The sysctl that was added earlier by commit 79134e6ce2c ("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 <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Maciej Zenczykowski <[email protected]> Cc: Jian Yang <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions