All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: mptcp@lists.linux.dev
Subject: [PATCH mptcp-net 0/4] mptcp: locking cleanup
Date: Mon, 15 Jan 2024 16:16:29 +0100	[thread overview]
Message-ID: <cover.1705331716.git.pabeni@redhat.com> (raw)

This is a preparatory work for the TCP_NOTSENT_LOWAT support. The latter
will need tracking more state under the msk data lock.

Since the locking msk locking schema is already quite complex, do a long
awaited clean-up step, moving several confusing lockless initialization
under the relevant locks.

Note that patches 2-4 carry fixes tag, and could target the net tree,
but AFACIS no real race could really happen even prior to such patches
as the MPTCP-level state machine implicitly ensure proper serialization
of the write accesses, even lacking explicit lock.

Patch 1 has no fixes, but still is logically tied to the other patches.
Possibly we could target net-next for the whole series.

Paolo Abeni (4):
  mptcp: drop the push_pending field
  mptcp: fix rcv space initialization
  mptcp: fix more tx path fields initialization
  mptcp: corner case locking for rx path fields initialization

 net/mptcp/fastopen.c |  6 ++--
 net/mptcp/options.c  |  9 +++---
 net/mptcp/protocol.c | 31 ++++++++++---------
 net/mptcp/protocol.h | 13 ++++----
 net/mptcp/subflow.c  | 71 +++++++++++++++++++++++++++-----------------
 5 files changed, 75 insertions(+), 55 deletions(-)

-- 
2.43.0


             reply	other threads:[~2024-01-15 15:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-15 15:16 Paolo Abeni [this message]
2024-01-15 15:16 ` [PATCH mptcp-net 1/4] mptcp: drop the push_pending field Paolo Abeni
2024-02-08 11:36   ` Matthieu Baerts
2024-02-08 15:12     ` Paolo Abeni
2024-02-08 18:05       ` Matthieu Baerts
2024-02-08 18:07         ` Paolo Abeni
2024-01-15 15:16 ` [PATCH mptcp-net 2/4] mptcp: fix rcv space initialization Paolo Abeni
2024-01-15 15:16 ` [PATCH mptcp-net 3/4] mptcp: fix more tx path fields initialization Paolo Abeni
2024-01-15 15:16 ` [PATCH mptcp-net 4/4] mptcp: corner case locking for rx " Paolo Abeni
2024-01-15 16:13   ` mptcp: corner case locking for rx path fields initialization: Tests Results MPTCP CI
2024-01-15 17:07   ` MPTCP CI
2024-01-17  2:57   ` MPTCP CI
2024-01-17  3:54   ` MPTCP CI
2024-01-17  7:01   ` MPTCP CI
2024-01-17  2:32 ` [PATCH mptcp-net 0/4] mptcp: locking cleanup Mat Martineau
2024-01-17 10:30   ` Paolo Abeni
2024-01-17 11:58 ` Matthieu Baerts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1705331716.git.pabeni@redhat.com \
    --to=pabeni@redhat.com \
    --cc=mptcp@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.