netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/4] mptcp: close subflow when receiving TCP+FIN and misc.
@ 2024-08-26 17:11 Matthieu Baerts (NGI0)
  2024-08-26 17:11 ` [PATCH net 1/4] mptcp: close subflow when receiving TCP+FIN Matthieu Baerts (NGI0)
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Matthieu Baerts (NGI0) @ 2024-08-26 17:11 UTC (permalink / raw)
  To: mptcp, Mat Martineau, Geliang Tang, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Florian Westphal, Shuah Khan
  Cc: netdev, linux-kernel, linux-kselftest, Matthieu Baerts (NGI0),
	stable

Here are different fixes:

Patch 1 closes the subflow after having received a FIN, instead of
leaving it half-closed until the end of the MPTCP connection. A fix for
v5.12.

Patch 2 validates the previous patch.

Patch 3 is a fix for a recent fix to check both directions for the
backup flag. It can follow the 'Fixes' commit and be backported up to
v5.7.

Patch 4 adds a missing \n at the end of pr_debug(), causing debug
messages to be displayed with a delay, which confuses the debugger. A
fix for v5.6.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Note: Peter's email address has been removed from the Cc list, because
it is bouncing.

---
Matthieu Baerts (NGI0) (4):
      mptcp: close subflow when receiving TCP+FIN
      selftests: mptcp: join: cannot rm sf if closed
      mptcp: sched: check both backup in retrans
      mptcp: pr_debug: add missing \n at the end

 net/mptcp/fastopen.c                            |  4 +-
 net/mptcp/options.c                             | 50 ++++++++++-----------
 net/mptcp/pm.c                                  | 28 ++++++------
 net/mptcp/pm_netlink.c                          | 20 ++++-----
 net/mptcp/protocol.c                            | 59 +++++++++++++------------
 net/mptcp/protocol.h                            |  4 +-
 net/mptcp/sched.c                               |  4 +-
 net/mptcp/sockopt.c                             |  4 +-
 net/mptcp/subflow.c                             | 56 ++++++++++++-----------
 tools/testing/selftests/net/mptcp/mptcp_join.sh | 11 ++---
 10 files changed, 122 insertions(+), 118 deletions(-)
---
base-commit: 31a972959ae57691a1e4f539399b2674ae576086
change-id: 20240826-net-mptcp-close-extra-sf-fin-19d4e5aa4c9c

Best regards,
-- 
Matthieu Baerts (NGI0) <matttbe@kernel.org>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-08-27 21:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26 17:11 [PATCH net 0/4] mptcp: close subflow when receiving TCP+FIN and misc Matthieu Baerts (NGI0)
2024-08-26 17:11 ` [PATCH net 1/4] mptcp: close subflow when receiving TCP+FIN Matthieu Baerts (NGI0)
2024-08-26 17:11 ` [PATCH net 2/4] selftests: mptcp: join: cannot rm sf if closed Matthieu Baerts (NGI0)
2024-08-26 17:11 ` [PATCH net 3/4] mptcp: sched: check both backup in retrans Matthieu Baerts (NGI0)
2024-08-26 17:11 ` [PATCH net 4/4] mptcp: pr_debug: add missing \n at the end Matthieu Baerts (NGI0)
2024-08-27  3:33 ` [PATCH net 0/4] mptcp: close subflow when receiving TCP+FIN and misc Jakub Kicinski
2024-08-27  8:34   ` Matthieu Baerts
2024-08-27 21:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).