Skip to content
Commit 38fe36a2 authored by Ulrich Weber's avatar Ulrich Weber Committed by Pablo Neira Ayuso
Browse files

netfilter: nf_nat: don't check for port change on ICMP tuples



ICMP tuples have id in src and type/code in dst.
So comparing src.u.all with dst.u.all will always fail here
and ip_xfrm_me_harder() is called for every ICMP packet,
even if there was no NAT.

Signed-off-by: default avatarUlrich Weber <ulrich.weber@sophos.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent bbb5823c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment