aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-02-04 02:19:46 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-02-04 23:51:29 -0800
commit7918d212df31fb7ddfb317c5a8dccdcec647d754 (patch)
treef3742fc5901dc7a367d6b6d6d47b09782c01eb43 /kernel
parent[NETFILTER]: Prepare {ipt,ip6t}_policy match for x_tables unification (diff)
downloadwireguard-linux-7918d212df31fb7ddfb317c5a8dccdcec647d754.tar.xz
wireguard-linux-7918d212df31fb7ddfb317c5a8dccdcec647d754.zip
[NETFILTER]: Fix check whether dst_entry needs to be released after NAT
After DNAT the original dst_entry needs to be released if present so the packet doesn't skip input routing with its new address. The current check for DNAT in ip_nat_in is reversed and checks for SNAT. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions