netfilter: nf_nat: remove obsolete check in nf_nat_mangle_udp_packet()
authorPatrick McHardy <kaber@trash.net>
Fri, 23 Dec 2011 13:01:26 +0000 (14:01 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 23 Dec 2011 13:36:46 +0000 (14:36 +0100)
commit0af051baa8444b7453235552911a353fc7b9bee7
tree7eb7a0f34679385d2519e4adf6120c6f779a8336
parent40cfb706cda2bacdecd6e5ab78a21456d28878c7
netfilter: nf_nat: remove obsolete check in nf_nat_mangle_udp_packet()

The packet size check originates from a time when UDP helpers could
accidentally mangle incorrect packets (NEWNAT) and is unnecessary
nowadays since the conntrack helpers invoke the NAT helpers for the
proper packet directly.

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