aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2021-01-12 17:25:24 +0000
committerJakub Kicinski <[email protected]>2021-01-13 04:09:19 +0000
commit76e2a55d16259b51116767b28b19d759bff43f72 (patch)
tree58414f66c38aa154beaf29ddee24bb3414a70900 /net/lapb/lapb_out.c
parentmptcp: more strict state checking for acks (diff)
downloadkernel-76e2a55d16259b51116767b28b19d759bff43f72.tar.gz
kernel-76e2a55d16259b51116767b28b19d759bff43f72.zip
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 <[email protected]> Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions