kernel-ark/net/ipv6
Alexey Kuznetsov 4c67525849 tcp: resets are misrouted
After commit e2446eaa ("tcp_v4_send_reset: binding oif to iif in no
sock case").. tcp resets are always lost, when routing is asymmetric.
Yes, backing out that patch will result in misrouting of resets for
dead connections which used interface binding when were alive, but we
actually cannot do anything here.  What's died that's died and correct
handling normal unbound connections is obviously a priority.

Comment to comment:
> This has few benefits:
>   1. tcp_v6_send_reset already did that.

It was done to route resets for IPv6 link local addresses. It was a
mistake to do so for global addresses. The patch fixes this as well.

Actually, the problem appears to be even more serious than guaranteed
loss of resets.  As reported by Sergey Soloviev <sol@eqv.ru>, those
misrouted resets create a lot of arp traffic and huge amount of
unresolved arp entires putting down to knees NAT firewalls which use
asymmetric routing.

Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
2012-10-12 13:52:40 -04:00
..
netfilter nf_defrag_ipv6: fix oops on module unloading 2012-09-27 18:14:55 -04:00
addrconf_core.c
addrconf.c ipv6: don't add link local route when there is no link local address 2012-10-02 22:36:23 -04:00
addrlabel.c sections: fix section conflicts in net 2012-10-06 03:04:45 +09:00
af_inet6.c ipv6: gro: fix PV6_GRO_CB(skb)->proto problem 2012-10-08 15:40:43 -04:00
ah6.c
anycast.c
datagram.c
esp6.c net: ipv6: fix error return code 2012-08-31 16:27:48 -04:00
exthdrs_core.c
exthdrs.c
fib6_rules.c sections: fix section conflicts in net 2012-10-06 03:04:45 +09:00
icmp.c
inet6_connection_sock.c ipv6: use net->rt_genid to check dst validity 2012-09-18 15:57:03 -04:00
inet6_hashtables.c
ip6_fib.c ipv6: return errno pointers consistently for fib6_add_1() 2012-09-28 18:48:28 -04:00
ip6_flowlabel.c
ip6_gre.c ipv6: gre: remove ip6gre_header_parse() 2012-09-27 18:49:22 -04:00
ip6_input.c
ip6_output.c net: use a per task frag allocator 2012-09-24 16:31:37 -04:00
ip6_tunnel.c
ip6mr.c sections: fix section conflicts in net 2012-10-06 03:04:45 +09:00
ipcomp6.c
ipv6_sockglue.c
Kconfig
Makefile
mcast.c
mip6.c ipv6: mip6: fix mip6_mh_filter() 2012-09-25 16:04:44 -04:00
ndisc.c
netfilter.c netfilter: ipv6: expand skb head in ip6_route_me_harder after oif change 2012-08-30 03:00:15 +02:00
proc.c
protocol.c
raw.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-09-28 14:40:49 -04:00
reassembly.c ipv6: unify fragment thresh handling code 2012-09-19 17:23:28 -04:00
route.c ipv6: release reference of ip6_null_entry's dst entry in __ip6_del_rt 2012-10-04 16:00:07 -04:00
sit.c xfrm: remove extranous rcu_read_lock 2012-09-27 18:12:37 -04:00
syncookies.c tcp: TCP Fast Open Server - support TFO listeners 2012-08-31 20:02:19 -04:00
sysctl_net_ipv6.c
tcp_ipv6.c tcp: resets are misrouted 2012-10-12 13:52:40 -04:00
tunnel6.c
udp_impl.h
udp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-09-15 11:43:53 -04:00
udplite.c
xfrm6_input.c
xfrm6_mode_beet.c
xfrm6_mode_ro.c
xfrm6_mode_transport.c
xfrm6_mode_tunnel.c
xfrm6_output.c
xfrm6_policy.c
xfrm6_state.c
xfrm6_tunnel.c