diff options
author | Patrick McHardy <kaber@trash.net> | 2007-01-26 10:06:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-01-26 10:06:47 +0100 |
commit | c72c6b2a291bb6c61b1546d116784a79e15a6c29 (patch) | |
tree | 3e7369188a531b805908e1a200e76126af914af9 /net/ipv4/xfrm4_input.c | |
parent | [TCP]: Restore SKB socket owner setting in tcp_transmit_skb(). (diff) | |
download | linux-c72c6b2a291bb6c61b1546d116784a79e15a6c29.tar.xz linux-c72c6b2a291bb6c61b1546d116784a79e15a6c29.zip |
[NETFILTER]: nf_nat: fix ICMP translation with statically linked conntrack
When nf_nat/nf_conntrack_ipv4 are linked statically, nf_nat is initialized
before nf_conntrack_ipv4, which makes the nf_ct_l3proto_find_get(AF_INET)
call during nf_nat initialization return the generic l3proto instead of
the AF_INET specific one. This breaks ICMP error translation since the
generic protocol always initializes the IPs in the tuple to 0.
Change the linking order and put nf_conntrack_ipv4 first.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_input.c')
0 files changed, 0 insertions, 0 deletions