mbox series

[net,0/4] mptcp: more fixes for 6.3

Message ID 20230411-upstream-net-20230411-mptcp-fixes-v1-0-ca540f3ef986@tessares.net
Headers show
Series mptcp: more fixes for 6.3 | expand

Message

Matthieu Baerts April 11, 2023, 8:42 p.m. UTC
Patch 1 avoids scheduling the MPTCP worker on a closed socket on some
edge cases. It fixes issues that can be visible from v5.11.

Patch 2 makes sure the MPTCP worker doesn't try to manipulate
disconnected sockets. This is also a fix for an issue that can be
visible from v5.11.

Patch 3 fixes a NULL pointer dereference when MPTCP FastOpen is used
and an early fallback is done. A fix for v6.2.

Patch 4 improves the stability of the userspace PM selftest for a
subtest added in v6.2.

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
---
Matthieu Baerts (1):
      selftests: mptcp: userspace pm: uniform verify events

Paolo Abeni (3):
      mptcp: use mptcp_schedule_work instead of open-coding it
      mptcp: stricter state check in mptcp_worker
      mptcp: fix NULL pointer dereference on fastopen early fallback

 net/mptcp/fastopen.c                              | 11 +++++++++--
 net/mptcp/options.c                               |  5 ++---
 net/mptcp/protocol.c                              |  2 +-
 net/mptcp/subflow.c                               | 18 ++++++------------
 tools/testing/selftests/net/mptcp/userspace_pm.sh |  2 ++
 5 files changed, 20 insertions(+), 18 deletions(-)
---
base-commit: a4506722dc39ca840593f14e3faa4c9ba9408211
change-id: 20230411-upstream-net-20230411-mptcp-fixes-db47f50c2688

Best regards,

Comments

patchwork-bot+netdevbpf@kernel.org April 13, 2023, 5:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 11 Apr 2023 22:42:08 +0200 you wrote:
> Patch 1 avoids scheduling the MPTCP worker on a closed socket on some
> edge cases. It fixes issues that can be visible from v5.11.
> 
> Patch 2 makes sure the MPTCP worker doesn't try to manipulate
> disconnected sockets. This is also a fix for an issue that can be
> visible from v5.11.
> 
> [...]

Here is the summary with links:
  - [net,1/4] mptcp: use mptcp_schedule_work instead of open-coding it
    https://git.kernel.org/netdev/net/c/a5cb752b1257
  - [net,2/4] mptcp: stricter state check in mptcp_worker
    https://git.kernel.org/netdev/net/c/d6a044373343
  - [net,3/4] mptcp: fix NULL pointer dereference on fastopen early fallback
    https://git.kernel.org/netdev/net/c/c0ff6f6da66a
  - [net,4/4] selftests: mptcp: userspace pm: uniform verify events
    https://git.kernel.org/netdev/net/c/711ae788cbbb

You are awesome, thank you!