diff options
author | Patrick McHardy <kaber@trash.net> | 2007-01-26 01:06:47 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-01-26 01:06:47 -0800 |
commit | c72c6b2a291bb6c61b1546d116784a79e15a6c29 (patch) | |
tree | 3e7369188a531b805908e1a200e76126af914af9 /net/sunrpc | |
parent | e89862f4c5b3c4ac9afcd8cb1365d2f1e16ddc3b (diff) |
[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/sunrpc')
0 files changed, 0 insertions, 0 deletions