summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2021-01-12 20:25:24 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-13 07:09:19 +0300
commit76e2a55d16259b51116767b28b19d759bff43f72 (patch)
tree58414f66c38aa154beaf29ddee24bb3414a70900 /net/switchdev/switchdev.c
parent20bc80b6f582ad1151c52ca09ab66b472768c9c8 (diff)
downloadlinux-76e2a55d16259b51116767b28b19d759bff43f72.tar.xz
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 commit ea4ca586b16f ("mptcp: refine MPTCP-level ack scheduling"). Fixes: 43b54c6ee382 ("mptcp: Use full MPTCP-level disconnect state machine") Fixes: ea4ca586b16f ("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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions