From: Paolo Abeni <pabeni@redhat.com>
To: mptcp@lists.linux.dev
Subject: [PATCH v3 mptcp-next 00/15] mptcp: refactor first subflow init
Date: Thu, 26 Jan 2023 22:05:05 +0100 [thread overview]
Message-ID: <cover.1674767058.git.pabeni@redhat.com> (raw)
This is the needed refactor for the selinux fixes, as discussed on
the ML.
Compared to v2 this revision introduces 2 additional patches:
1/15, just another cleanup found while addressing the recent bugs
12/15 factoring out a __inet_listener() helper, as suggested by Mat.
The only other patches with some change is 9/15, adding more
comments and consistently reporting the newly introduced error code
(a bit different from what discussed on the ML, for consistency's sake).
Paolo Abeni (15):
mptcp: use mptcp_schedule_work() instead of open-codying it
mptcp: fix locking for setsockopt corner-case
mptcp: fix locking for in-kernel listener creation.
mptcp: refactor passive socket initialization.
mptcp: drop unneeded argument
mptcp: drop legacy code.
mptcp: avoid unneeded __mptcp_nmpc_socket() usage
mptcp: move fastopen subflow check inside mptcp_sendmsg_fastopen()
mptcp: move first subflow allocation at mpc access time
mptcp: do not keep around the first subflow after disconnect.
mptcp: fastclose msk when cleaning unaccepted sockets
inet: factor out locked section of inet_accept() in a new helper
mptcp: refactor mptcp_stream_accept()
security, lsm: Introduce security_mptcp_add_subflow()
selinux: Implement mptcp_add_subflow hook
include/linux/lsm_hook_defs.h | 1 +
include/linux/lsm_hooks.h | 9 ++
include/linux/security.h | 6 ++
include/net/inet_common.h | 2 +
net/ipv4/af_inet.c | 32 +++----
net/mptcp/options.c | 9 +-
net/mptcp/pm.c | 4 +-
net/mptcp/pm_netlink.c | 14 +--
net/mptcp/protocol.c | 158 +++++++++++++++++-----------------
net/mptcp/protocol.h | 4 +-
net/mptcp/sockopt.c | 31 ++++---
net/mptcp/subflow.c | 57 +++++++-----
security/security.c | 5 ++
security/selinux/hooks.c | 16 ++++
security/selinux/netlabel.c | 8 +-
15 files changed, 215 insertions(+), 141 deletions(-)
--
2.39.1
next reply other threads:[~2023-01-26 21:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-26 21:05 Paolo Abeni [this message]
2023-01-26 21:05 ` [PATCH v3 mptcp-next 01/15] mptcp: use mptcp_schedule_work() instead of open-codying it Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 02/15] mptcp: fix locking for setsockopt corner-case Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 03/15] mptcp: fix locking for in-kernel listener creation Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 04/15] mptcp: refactor passive socket initialization Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 05/15] mptcp: drop unneeded argument Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 06/15] mptcp: drop legacy code Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 07/15] mptcp: avoid unneeded __mptcp_nmpc_socket() usage Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 08/15] mptcp: move fastopen subflow check inside mptcp_sendmsg_fastopen() Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 09/15] mptcp: move first subflow allocation at mpc access time Paolo Abeni
2023-01-27 14:04 ` Matthieu Baerts
2023-01-26 21:05 ` [PATCH v3 mptcp-next 10/15] mptcp: do not keep around the first subflow after disconnect Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 11/15] mptcp: fastclose msk when cleaning unaccepted sockets Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 12/15] inet: factor out locked section of inet_accept() in a new helper Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 13/15] mptcp: refactor mptcp_stream_accept() Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 14/15] security, lsm: Introduce security_mptcp_add_subflow() Paolo Abeni
2023-01-26 21:05 ` [PATCH v3 mptcp-next 15/15] selinux: Implement mptcp_add_subflow hook Paolo Abeni
2023-01-26 22:24 ` selinux: Implement mptcp_add_subflow hook: Tests Results MPTCP CI
2023-01-27 16:16 ` MPTCP CI
2023-01-27 16:27 ` Matthieu Baerts
2023-01-27 14:04 ` [PATCH v3 mptcp-next 00/15] mptcp: refactor first subflow init Matthieu Baerts
2023-01-30 11:27 ` 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.1674767058.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox