]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: nf_nat: remove obsolete check for ICMP redirects
authorPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:50 +0000 (11:15 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:50 +0000 (11:15 +0200)
commit42cf800c240fa845e9c154429d70d62750e65b64
treee3144f6b168499ae946cad846259a8b024379691
parent9d908a69a32e0171eb5eeac93f2f46ffa4190573
[NETFILTER]: nf_nat: remove obsolete check for ICMP redirects

Locally generated ICMP packets have a reference to the conntrack entry
of the original packet manually attached by icmp_send(). Therefore the
check for locally originated untracked ICMP redirects can never be
true.

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/nf_nat_standalone.c