mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
mptcp: better msk-level shutdown.
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 latter could lead to division by 0 oops since commitea4ca586b1("mptcp: refine MPTCP-level ack scheduling"). Fixes:43b54c6ee3("mptcp: Use full MPTCP-level disconnect state machine") Fixes:ea4ca586b1("mptcp: refine MPTCP-level ack scheduling") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
20bc80b6f5
commit
76e2a55d16
1 changed files with 17 additions and 45 deletions
Loading…
Add table
Add a link
Reference in a new issue