diff options
author | Mahesh Bandewar <maheshb@google.com> | 2020-09-17 22:08:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-18 14:14:05 -0700 |
commit | 3753d9779038ab011e01b949253492aaa37bf57a (patch) | |
tree | 73f7d0204b839f3b0c92ae917c276dbf0567da16 /include/linux/proc_ns.h | |
parent | d134b78ee34823c607875c77426e18c762a911ea (diff) |
net: fix build without CONFIG_SYSCTL definition
Earlier commit 316cdaa1158a ("net: add option to not create fall-back
tunnels in root-ns as well") removed the CONFIG_SYSCTL to enable the
kernel-commandline to work. However, this variable gets defined only
when CONFIG_SYSCTL option is selected.
With this change the behavior would default to creating fall-back
tunnels in all namespaces when CONFIG_SYSCTL is not selected and
the kernel commandline option will be ignored.
Fixes: 316cdaa1158a ("net: add option to not create fall-back tunnels in root-ns as well")
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/proc_ns.h')
0 files changed, 0 insertions, 0 deletions