]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: nf_nat: remove obsolete code from nf_nat_icmp_reply_translation()
authorPatrick McHardy <kaber@trash.net>
Fri, 23 Dec 2011 13:01:03 +0000 (14:01 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 23 Dec 2011 13:36:45 +0000 (14:36 +0100)
commit40cfb706cda2bacdecd6e5ab78a21456d28878c7
treee024cdfdff81b71f9d35b539b53f3da3241853b3
parentd70308f78bb8192a76a7dc38f5f9de6c2695532b
netfilter: nf_nat: remove obsolete code from nf_nat_icmp_reply_translation()

The inner tuple that is extracted from the packet is unused. The code also
doesn't have any useful side-effects like verifying the packet does contain
enough data to extract the inner tuple since conntrack already does the
same, so remove it.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nf_nat_core.c