Re: [PATCH net] tcp: do not drop syn_recv on all icmp reports

2016-02-09 Thread David Miller
From: Eric Dumazet Date: Tue, 02 Feb 2016 19:31:12 -0800 > From: Eric Dumazet > > Petr Novopashenniy reported that ICMP redirects on SYN_RECV sockets > were leading to RST. > > This is of course incorrect. > > A specific list of ICMP messages should be able to drop a SYN_RECV. > > For instan

[PATCH net] tcp: do not drop syn_recv on all icmp reports

2016-02-02 Thread Eric Dumazet
From: Eric Dumazet Petr Novopashenniy reported that ICMP redirects on SYN_RECV sockets were leading to RST. This is of course incorrect. A specific list of ICMP messages should be able to drop a SYN_RECV. For instance, a REDIRECT on SYN_RECV shall be ignored, as we do not hold a dst per SYN_RE