netfilter: nfnetlink_queue: fix compilation with CONFIG_NF_NAT=m and CONFIG_NF_CT_NET...
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 20 Jun 2012 18:52:31 +0000 (20:52 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 22 Jun 2012 00:49:52 +0000 (02:49 +0200)
commitd584a61a931e6cbfef0dd811c4ae0250ec5987f4
treeaf8f5ff1ace6bc0034f5f351bca12d09e9c5f42e
parent5a05fae5ca7cd5279567747fc34d60413b504cd6
netfilter: nfnetlink_queue: fix compilation with CONFIG_NF_NAT=m and CONFIG_NF_CT_NETLINK=y

  LD      init/built-in.o
net/built-in.o:(.data+0x4408): undefined reference to `nf_nat_tcp_seq_adjust'
make: *** [vmlinux] Error 1

This patch adds a new pointer hook (nfq_ct_nat_hook) similar to other existing
in Netfilter to solve our complicated configuration dependencies.

Reported-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h
net/ipv4/netfilter/nf_nat_core.c
net/netfilter/core.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nfnetlink_queue_ct.c