netfilter: nf_ct_tcp, udp: fix compilation with sysctl disabled
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 11 Jun 2012 21:58:01 +0000 (23:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jun 2012 22:22:46 +0000 (15:22 -0700)
commit352e04b9111d608bd89ba7bd8070846d4f97d104
tree6c974f5360b2bc620467ec9a564941a46122cf49
parent9136461ab921fd5066ba6a0de08399e2172f4d71
netfilter: nf_ct_tcp, udp: fix compilation with sysctl disabled

This patch fixes the compilation of the TCP and UDP trackers with sysctl
compilation disabled:

net/netfilter/nf_conntrack_proto_udp.c: In function ‘udp_init_net_data’:
net/netfilter/nf_conntrack_proto_udp.c:279:13: error: ‘struct nf_proto_net’ has no member named
 ‘user’
net/netfilter/nf_conntrack_proto_tcp.c:1606:9: error: ‘struct nf_proto_net’ has no member named
 ‘user’
net/netfilter/nf_conntrack_proto_tcp.c:1643:9: error: ‘struct nf_proto_net’ has no member named
 ‘user’

Reported-by: Fengguang Wu <wfg@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/nf_conntrack_proto_udp.c