mbox series

[net,0/6] mptcp: fixes for v6.2

Message ID 20230207-upstream-net-20230207-various-fix-6-2-v1-0-2031b495c7cc@tessares.net
Headers show
Series mptcp: fixes for v6.2 | expand

Message

Matthieu Baerts Feb. 7, 2023, 1:04 p.m. UTC
Patch 1 clears resources earlier if there is no more reasons to keep
MPTCP sockets alive.

Patches 2 and 3 fix some locking issues visible in some rare corner
cases: the linked issues should be quite hard to reproduce.

Patch 4 makes sure subflows are correctly cleaned after the end of a
connection.

Patch 5 and 6 improve the selftests stability when running in a slow
environment by transfering data for a longer period on one hand and by
stopping the tests when all expected events have been observed on the
other hand.

All these patches fix issues introduced before v6.2.

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
---
Matthieu Baerts (1):
      selftests: mptcp: stop tests earlier

Paolo Abeni (5):
      mptcp: do not wait for bare sockets' timeout
      mptcp: fix locking for setsockopt corner-case
      mptcp: fix locking for in-kernel listener creation
      mptcp: be careful on subflow status propagation on errors
      selftests: mptcp: allow more slack for slow test-case

 net/mptcp/pm_netlink.c                          | 10 ++++++----
 net/mptcp/protocol.c                            |  9 +++++++++
 net/mptcp/sockopt.c                             | 11 +++++++++--
 net/mptcp/subflow.c                             | 12 ++++++++++--
 tools/testing/selftests/net/mptcp/mptcp_join.sh | 22 +++++++++++++++++-----
 5 files changed, 51 insertions(+), 13 deletions(-)
---
base-commit: 811d581194f7412eda97acc03d17fc77824b561f
change-id: 20230207-upstream-net-20230207-various-fix-6-2-1848a75bbbe6

Best regards,

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 8, 2023, 9:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 07 Feb 2023 14:04:12 +0100 you wrote:
> Patch 1 clears resources earlier if there is no more reasons to keep
> MPTCP sockets alive.
> 
> Patches 2 and 3 fix some locking issues visible in some rare corner
> cases: the linked issues should be quite hard to reproduce.
> 
> Patch 4 makes sure subflows are correctly cleaned after the end of a
> connection.
> 
> [...]

Here is the summary with links:
  - [net,1/6] mptcp: do not wait for bare sockets' timeout
    https://git.kernel.org/netdev/net/c/d4e85922e3e7
  - [net,2/6] mptcp: fix locking for setsockopt corner-case
    https://git.kernel.org/netdev/net/c/21e43569685d
  - [net,3/6] mptcp: fix locking for in-kernel listener creation
    https://git.kernel.org/netdev/net/c/ad2171009d96
  - [net,4/6] mptcp: be careful on subflow status propagation on errors
    https://git.kernel.org/netdev/net/c/1249db44a102
  - [net,5/6] selftests: mptcp: allow more slack for slow test-case
    https://git.kernel.org/netdev/net/c/a635a8c3df66
  - [net,6/6] selftests: mptcp: stop tests earlier
    https://git.kernel.org/netdev/net/c/070d6dafacba

You are awesome, thank you!