Re: [PATCH net 2/2] mptcp: better msk-level shutdown.

2021-01-13 Thread Paolo Abeni
On Wed, 2021-01-13 at 11:26 +0100, Eric Dumazet wrote: > > On 1/13/21 11:21 AM, Eric Dumazet wrote: > > > > On 1/12/21 6:25 PM, Paolo Abeni wrote: > > > Instead of re-implementing most of inet_shutdown, re-use > > > such helper, and implement the MPTCP-specific bits at the > > > 'proto' level. >

Re: [PATCH net 2/2] mptcp: better msk-level shutdown.

2021-01-13 Thread Eric Dumazet
On 1/13/21 11:21 AM, Eric Dumazet wrote: > > > On 1/12/21 6:25 PM, Paolo Abeni wrote: >> Instead of re-implementing most of inet_shutdown, re-use >> such helper, and implement the MPTCP-specific bits at the >> 'proto' level. >> >> The msk-level disconnect() can now be invoked, lets provide a >

Re: [PATCH net 2/2] mptcp: better msk-level shutdown.

2021-01-13 Thread Eric Dumazet
On 1/12/21 6:25 PM, Paolo Abeni wrote: > Instead of re-implementing most of inet_shutdown, re-use > such helper, and implement the MPTCP-specific bits at the > 'proto' level. > > The msk-level disconnect() can now be invoked, lets provide a > suitable implementation. > > As a side effect, this

Re: [MPTCP] [PATCH net 2/2] mptcp: better msk-level shutdown.

2021-01-12 Thread Mat Martineau
On Tue, 12 Jan 2021, Paolo Abeni wrote: Instead of re-implementing most of inet_shutdown, re-use such helper, and implement the MPTCP-specific bits at the 'proto' level. The msk-level disconnect() can now be invoked, lets provide a suitable implementation. As a side effect, this fixes bad stat

[PATCH net 2/2] mptcp: better msk-level shutdown.

2021-01-12 Thread Paolo Abeni
Instead of re-implementing most of inet_shutdown, re-use such helper, and implement the MPTCP-specific bits at the 'proto' level. The msk-level disconnect() can now be invoked, lets provide a suitable implementation. As a side effect, this fixes bad state management for listener sockets. The latt