Re: [PATCH net] tcp: do not restart timewait timer on rst reception

2018-08-31 Thread David Miller
From: Florian Westphal Date: Thu, 30 Aug 2018 14:24:29 +0200 > RFC 1337 says: > ''Ignore RST segments in TIME-WAIT state. >If the 2 minute MSL is enforced, this fix avoids all three hazards.'' > > So with net.ipv4.tcp_rfc1337=1, expected behaviour is to have TIME-WAIT sk > expire rather tha

Re: [PATCH net] tcp: do not restart timewait timer on rst reception

2018-08-30 Thread Eric Dumazet
On 08/30/2018 05:24 AM, Florian Westphal wrote: > RFC 1337 says: > ''Ignore RST segments in TIME-WAIT state. >If the 2 minute MSL is enforced, this fix avoids all three hazards.'' > > So with net.ipv4.tcp_rfc1337=1, expected behaviour is to have TIME-WAIT sk > expire rather than removing i

[PATCH net] tcp: do not restart timewait timer on rst reception

2018-08-30 Thread Florian Westphal
RFC 1337 says: ''Ignore RST segments in TIME-WAIT state. If the 2 minute MSL is enforced, this fix avoids all three hazards.'' So with net.ipv4.tcp_rfc1337=1, expected behaviour is to have TIME-WAIT sk expire rather than removing it instantly when a reset is received. However, Linux will also