Re: [PATCH] net: ignore sysctl_devconf_inherit_init_net without SYSCTL

2019-03-04 Thread David Miller
From: Arnd Bergmann Date: Mon, 4 Mar 2019 21:38:03 +0100 > When CONFIG_SYSCTL is turned off, we get a link failure for > the newly introduced tuning knob. > > net/ipv6/addrconf.o: In function `addrconf_init_net': > addrconf.c:(.text+0x31dc): undefined reference to > `sysctl_devconf_inherit_ini

Re: [PATCH] net: ignore sysctl_devconf_inherit_init_net without SYSCTL

2019-03-04 Thread Christian Brauner
On Mon, Mar 04, 2019 at 10:07:17PM +0100, Arnd Bergmann wrote: > On Mon, Mar 4, 2019 at 10:00 PM Christian Brauner > wrote: > > > > On Mon, Mar 04, 2019 at 09:38:03PM +0100, Arnd Bergmann wrote: > > > When CONFIG_SYSCTL is turned off, we get a link failure for > > > the newly introduced tuning kn

Re: [PATCH] net: ignore sysctl_devconf_inherit_init_net without SYSCTL

2019-03-04 Thread Arnd Bergmann
On Mon, Mar 4, 2019 at 10:00 PM Christian Brauner wrote: > > On Mon, Mar 04, 2019 at 09:38:03PM +0100, Arnd Bergmann wrote: > > When CONFIG_SYSCTL is turned off, we get a link failure for > > the newly introduced tuning knob. > > > > net/ipv6/addrconf.o: In function `addrconf_init_net': > > addrco

Re: [PATCH] net: ignore sysctl_devconf_inherit_init_net without SYSCTL

2019-03-04 Thread Christian Brauner
On Mon, Mar 04, 2019 at 09:38:03PM +0100, Arnd Bergmann wrote: > When CONFIG_SYSCTL is turned off, we get a link failure for > the newly introduced tuning knob. > > net/ipv6/addrconf.o: In function `addrconf_init_net': > addrconf.c:(.text+0x31dc): undefined reference to > `sysctl_devconf_inherit_

[PATCH] net: ignore sysctl_devconf_inherit_init_net without SYSCTL

2019-03-04 Thread Arnd Bergmann
When CONFIG_SYSCTL is turned off, we get a link failure for the newly introduced tuning knob. net/ipv6/addrconf.o: In function `addrconf_init_net': addrconf.c:(.text+0x31dc): undefined reference to `sysctl_devconf_inherit_init_net' Add an IS_ENABLED() check to fall back to the default behavior (