[NETFILTER]: nf_nat: autoload IPv4 connection tracking
authorJan Engelhardt <jengelh@computergmbh.de>
Wed, 9 Apr 2008 22:14:58 +0000 (15:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Apr 2008 22:14:58 +0000 (15:14 -0700)
commit475959d4773e53a2700e523dd30acebbd47556a5
tree67f1af04a4dd1f47f7002262b0230e5da3c97745
parent1b9b70ea2ebaab26c3e4fed385dfab6fc16359ed
[NETFILTER]: nf_nat: autoload IPv4 connection tracking

Without this patch, the generic L3 tracker would kick in
if nf_conntrack_ipv4 was not loaded before nf_nat, which
would lead to translation problems with ICMP errors.

NAT does not make sense without IPv4 connection tracking
anyway, so just add a call to need_ipv4_conntrack().

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_nat_core.c