[PATCH mptcp-net v2 0/4] mptcp: fix races in add_addr handling

Paolo Abeni posted 4 patches 2 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/cover.1644346664.git.pabeni@redhat.com
Maintainers: Matthieu Baerts <matthieu.baerts@tessares.net>, Shuah Khan <shuah@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Mat Martineau <mathew.j.martineau@linux.intel.com>, Paolo Abeni <pabeni@redhat.com>, Geliang Tang <geliangtang@gmail.com>, "David S. Miller" <davem@davemloft.net>
There is a newer version of this series
net/mptcp/mib.c                               |  2 ++
net/mptcp/mib.h                               |  2 ++
net/mptcp/pm.c                                |  8 +++--
net/mptcp/pm_netlink.c                        | 29 +++++++++++++++----
.../testing/selftests/net/mptcp/mptcp_join.sh | 16 ++++++++--
5 files changed, 47 insertions(+), 10 deletions(-)
[PATCH mptcp-net v2 0/4] mptcp: fix races in add_addr handling
Posted by Paolo Abeni 2 years, 1 month ago
the patches 1 && 2 fix actual races, even if the race addressed by
2/4 is not exposed by the self-tests, afaics.

patch 3 introduces some mibs to detect critical scenarios we can't
fix without major rework

patch 4 updates the self-test to be graceful in above cases.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/254

Paolo Abeni (4):
  mptcp: fix race in overlapping signal events
  mptcp: fix race in incoming ADD_ADDR option processing.
  mptcp: add mibs counter for ignored incoming options
  selftests: mptcp: more robust signal race test

 net/mptcp/mib.c                               |  2 ++
 net/mptcp/mib.h                               |  2 ++
 net/mptcp/pm.c                                |  8 +++--
 net/mptcp/pm_netlink.c                        | 29 +++++++++++++++----
 .../testing/selftests/net/mptcp/mptcp_join.sh | 16 ++++++++--
 5 files changed, 47 insertions(+), 10 deletions(-)

-- 
2.34.1