MPTCP Linux Development
 help / color / mirror / Atom feed
* [PATCH v3 mptcp-net 0/3] mptcp: cg and backlog follow-up
@ 2025-11-13  0:10 Paolo Abeni
  2025-11-13  0:10 ` [PATCH v3 mptcp-net 1/3] mptcp: fix grafting corner case Paolo Abeni
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Paolo Abeni @ 2025-11-13  0:10 UTC (permalink / raw)
  To: mptcp

This is a v2 of:

https://lore.kernel.org/mptcp/ed5c5ea1de503f6dc8a514b5eb4c9d16c431646f.1762696333.git.pabeni@redhat.com/

It turns out the previous revision was prone to a lot of ugly race.
Addressing them needs a some pre-reqs.

Races are due to MPJ subflows racing with accept() and possibly adding
non accounted memory to the backlog while the account code is trying to
handle backlog_len.

Paolo Abeni (3):
  mptcp: fix grafting corner case
  Squash-to: "mptcp: fix memcg accounting for passive sockets"
  Squash-to: "mptcp: leverage the backlog for RX packet processing"

 net/mptcp/protocol.c | 104 +++++++++++++++++++++++++++++++++++--------
 net/mptcp/protocol.h |   1 +
 2 files changed, 87 insertions(+), 18 deletions(-)

-- 
2.51.1


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

end of thread, other threads:[~2025-11-13 17:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-13  0:10 [PATCH v3 mptcp-net 0/3] mptcp: cg and backlog follow-up Paolo Abeni
2025-11-13  0:10 ` [PATCH v3 mptcp-net 1/3] mptcp: fix grafting corner case Paolo Abeni
2025-11-13  8:47   ` Matthieu Baerts
2025-11-13 17:09     ` Paolo Abeni
2025-11-13 17:14       ` Matthieu Baerts
2025-11-13  0:10 ` [PATCH v3 mptcp-net 2/3] Squash-to: "mptcp: fix memcg accounting for passive sockets" Paolo Abeni
2025-11-13  0:10 ` [PATCH v3 mptcp-net 3/3] Squash-to: "mptcp: leverage the backlog for RX packet processing" Paolo Abeni
2025-11-13  9:00   ` Matthieu Baerts
2025-11-13 11:30   ` kernel test robot
2025-11-13 17:16     ` Matthieu Baerts
2025-11-13 11:52   ` kernel test robot
2025-11-13  0:35 ` [PATCH v3 mptcp-net 0/3] mptcp: cg and backlog follow-up MPTCP CI
2025-11-13  1:21 ` MPTCP CI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox