From: Patrick McHardy Date: Fri, 26 Jan 2007 09:06:47 +0000 (-0800) Subject: [NETFILTER]: nf_nat: fix ICMP translation with statically linked conntrack X-Git-Tag: v2.6.20-rc7~56^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c72c6b2a291bb6c61b1546d116784a79e15a6c29;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed