Re: [PATCH net] tcp: purge write queue upon RST

2018-02-28 Thread Eric Dumazet
On Wed, Feb 28, 2018 at 8:42 AM, David Miller wrote: > From: Soheil Hassas Yeganeh > Date: Tue, 27 Feb 2018 18:32:18 -0500 > >> From: Soheil Hassas Yeganeh >> >> When the connection is reset, there is no point in >> keeping the packets on the write queue until the connection >> is closed. >> >>

Re: [PATCH net] tcp: purge write queue upon RST

2018-02-28 Thread David Miller
From: Soheil Hassas Yeganeh Date: Tue, 27 Feb 2018 18:32:18 -0500 > From: Soheil Hassas Yeganeh > > When the connection is reset, there is no point in > keeping the packets on the write queue until the connection > is closed. > > RFC 793 (page 70) and RFC 793-bis (page 64) both suggest > purgi