[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220906205545.1623193-1-matthieu.baerts@tessares.net>
Date: Tue, 6 Sep 2022 22:55:38 +0200
From: Matthieu Baerts <matthieu.baerts@...sares.net>
To: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Mat Martineau <mathew.j.martineau@...ux.intel.com>,
Matthieu Baerts <matthieu.baerts@...sares.net>,
Paolo Abeni <pabeni@...hat.com>, Shuah Khan <shuah@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
mptcp@...ts.linux.dev, netdev@...r.kernel.org
Subject: [PATCH net-next 0/5] mptcp: allow privileged operations from user ns & cleanup
This series allows privileged Netlink operations from user namespaces. When a
non-root user configures MPTCP endpoints, the memory allocation is now accounted
to this user. See patches 4 and 5.
Apart from that, there are some cleanup:
- Patch 1 adds a macro to improve code readability
- Patch 2 regroups similar checks all together
- Patch 3 uses an explicit boolean instead of a counter to do one more check
Geliang Tang (2):
selftests: mptcp: move prefix tests of addr_nr_ns2 together
mptcp: add do_check_data_fin to replace copied
Matthieu Baerts (1):
mptcp: add mptcp_for_each_subflow_safe helper
Thomas Haller (2):
mptcp: allow privileged operations from user namespaces
mptcp: account memory allocation in mptcp_nl_cmd_add_addr() to user
net/mptcp/pm_netlink.c | 22 +++++++++----------
net/mptcp/protocol.c | 13 ++++++-----
net/mptcp/protocol.h | 2 ++
.../testing/selftests/net/mptcp/mptcp_join.sh | 10 ++++-----
4 files changed, 24 insertions(+), 23 deletions(-)
base-commit: 03fdb11da92fde0bdc0b6e9c1c642b7414d49e8d
--
2.37.2
Powered by blists - more mailing lists