[NETFILTER]: {ip,ip6}_queue: fix build error
authorPatrick McHardy <kaber@trash.net>
Thu, 31 Jan 2008 12:54:18 +0000 (04:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:28:14 +0000 (19:28 -0800)
commitc392a7401807de25a9c7e0234dddbdf40b10c594
tree57940df8f7c31574d1988f2a682fa6755b8e10a4
parent32948588ac4ec54300bae1037e839277fd4536e2
[NETFILTER]: {ip,ip6}_queue: fix build error

Reported by Ingo Molnar:

 net/built-in.o: In function `ip_queue_init':
 ip_queue.c:(.init.text+0x322c): undefined reference to `net_ipv4_ctl_path'

Fix the build error and also handle CONFIG_PROC_FS=n properly.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_queue.c
net/ipv6/netfilter/ip6_queue.c