summaryrefslogtreecommitdiff
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-02-19 22:29:47 -0800
committerDavid S. Miller <davem@davemloft.net>2006-02-19 22:29:47 -0800
commit8e249f088131cde5f77fd073bf0b0e8b3e9ea4ac (patch)
treee0113097593dd2b805310bf525b0d2a6823f0a06 /net/core/skbuff.c
parent669d32a293a348e692c365ddac2b23f3b907fcf1 (diff)
downloadlwn-8e249f088131cde5f77fd073bf0b0e8b3e9ea4ac.tar.gz
lwn-8e249f088131cde5f77fd073bf0b0e8b3e9ea4ac.zip
[NETFILTER]: Fix outgoing redirects to loopback
When redirecting an outgoing packet to loopback, it keeps the original conntrack reference and information from the outgoing path, which falsely triggers the check for DNAT on input and the dst_entry is released to trigger rerouting. ip_route_input refuses to route the packet because it has a local source address and it is dropped. Look at the packet itself to dermine if it was NATed. Also fix a missing inversion that causes unneccesary xfrm lookups. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skbuff.c')
0 files changed, 0 insertions, 0 deletions