netfilter: nf_{log,queue}: fix compilation without CONFIG_PROC_FS
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Apr 2013 08:01:18 +0000 (08:01 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 May 2013 10:28:01 +0000 (12:28 +0200)
This patch fixes the following compilation error:

net/netfilter/nf_log.c:373:38: error: 'struct netns_nf' has no member named 'proc_netfilter'

if procfs is not set.

The netns support for nf_log, nfnetlink_log and nfnetlink_queue_core
requires CONFIG_PROC_FS in the removal path of their respective
/proc interface since net->nf.proc_netfilter is undefined in that
case.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Gao feng <gaofeng@cn.fujitsu.com>

No differences found