From: Paolo Abeni Date: Thu, 15 Sep 2022 10:01:04 +0000 (+0200) Subject: Merge branch 'mptcp-allow-privileged-operations-from-user-ns-cleanup' X-Git-Tag: v6.1-rc1~170^2~221 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9724343e4907ea1c0280b90ee2f4939f5f1de01e;p=thirdparty%2Flinux.git Merge branch 'mptcp-allow-privileged-operations-from-user-ns-cleanup' Matthieu Baerts says: ==================== 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 ==================== Link: https://lore.kernel.org/r/20220906205545.1623193-1-matthieu.baerts@tessares.net Signed-off-by: Paolo Abeni --- 9724343e4907ea1c0280b90ee2f4939f5f1de01e