Files
kernel/include/linux
Arnd Bergmann be9fc0971a net: fix sysctl_fb_tunnels_only_for_init_net link error
The new variable is only available when CONFIG_SYSCTL is enabled,
otherwise we get a link error:

net/ipv4/ip_tunnel.o: In function `ip_tunnel_init_net':
ip_tunnel.c:(.text+0x278b): undefined reference to `sysctl_fb_tunnels_only_for_init_net'
net/ipv6/sit.o: In function `sit_init_net':
sit.c:(.init.text+0x4c): undefined reference to `sysctl_fb_tunnels_only_for_init_net'
net/ipv6/ip6_tunnel.o: In function `ip6_tnl_init_net':
ip6_tunnel.c:(.init.text+0x39): undefined reference to `sysctl_fb_tunnels_only_for_init_net'

This adds an extra condition, keeping the traditional behavior when
CONFIG_SYSCTL is disabled.

Fixes: 79134e6ce2 ("net: do not create fallback tunnels for non-default namespaces")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-13 14:15:21 -04:00
..
2018-02-14 09:43:22 -08:00
2018-03-07 15:54:36 -08:00
2018-02-20 11:34:54 +00:00
2018-02-06 18:32:44 -08:00
2018-02-12 15:59:08 +00:00
2018-01-25 14:10:39 -08:00
2018-02-26 12:32:42 -08:00
2018-02-26 09:48:42 -07:00
2018-01-16 00:04:19 +01:00
2018-02-06 16:41:29 -05:00
2018-02-22 21:13:03 +01:00
2018-01-17 11:30:16 +00:00
2018-02-24 01:43:47 +01:00
2018-01-03 11:00:22 -05:00
2018-01-31 17:18:38 -08:00
2018-01-28 22:17:24 -05:00
2018-01-08 08:22:45 -06:00
2018-01-17 15:25:50 +01:00
2018-01-25 08:48:20 -06:00
2018-01-08 08:22:45 -06:00
2018-01-31 17:18:40 -08:00
2018-01-31 17:18:37 -08:00
2018-02-01 11:40:07 -06:00
2018-01-19 16:50:53 -08:00
2018-02-06 16:41:28 -05:00
2018-02-20 13:23:13 -05:00
2018-01-29 12:02:54 -05:00
2018-01-18 11:56:49 +01:00
2018-01-15 12:07:46 -08:00
2018-01-15 09:35:45 +01:00
2018-02-06 18:32:47 -08:00
2018-01-09 16:27:43 +01:00
2018-02-06 18:32:44 -08:00