Re: [PATCH net-next] net/ipv4: Fix missing raw_init when CONFIG_PROC_FS is disabled

2018-11-27 Thread David Miller
From: David Ahern Date: Tue, 27 Nov 2018 20:52:24 -0800 > From: David Ahern > > Randy reported when CONFIG_PROC_FS is not enabled: > ld: net/ipv4/af_inet.o: in function `inet_init': > af_inet.c:(.init.text+0x42d): undefined reference to `raw_init' > > Fix by moving the endif up to the

[PATCH net-next] net/ipv4: Fix missing raw_init when CONFIG_PROC_FS is disabled

2018-11-27 Thread David Ahern
From: David Ahern Randy reported when CONFIG_PROC_FS is not enabled: ld: net/ipv4/af_inet.o: in function `inet_init': af_inet.c:(.init.text+0x42d): undefined reference to `raw_init' Fix by moving the endif up to the end of the proc entries Fixes: 6897445fb194c ("net: provide a sysctl