Re: [PATCH RFC net-next 1/1] tcp: close socket without reset on incoming data

2018-05-19 Thread David Miller
From: "Banerjee, Debabrata" Date: Sat, 19 May 2018 22:57:48 + > It does the same thing the application would do, but with much less > overhead. The application called close() because it no longer cares > about new data, but it still expected send() prior to close() to > actually send. It's n

RE: [PATCH RFC net-next 1/1] tcp: close socket without reset on incoming data

2018-05-19 Thread Banerjee, Debabrata
> From: David Miller [mailto:da...@davemloft.net] > From: Debabrata Banerjee > > > When TCP_CLOSE_NORST is set before a close(), offload sinking of > > unwanted data to the kernel with low resource usage, with a timeout of > > TCP_LINGER2. The socket will transition to FIN_WAIT1 and then > > FIN_

Re: [PATCH RFC net-next 1/1] tcp: close socket without reset on incoming data

2018-05-19 Thread David Miller
From: Debabrata Banerjee Date: Fri, 18 May 2018 15:01:41 -0400 > When TCP_CLOSE_NORST is set before a close(), offload sinking of > unwanted data to the kernel with low resource usage, with a timeout of > TCP_LINGER2. The socket will transition to FIN_WAIT1 and then FIN_WAIT2 > where it will ack