Merge branch 'mptcp-allow-privileged-operations-from-user-ns-cleanup'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 15 Sep 2022 10:01:04 +0000 (12:01 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 15 Sep 2022 10:01:04 +0000 (12:01 +0200)
commit9724343e4907ea1c0280b90ee2f4939f5f1de01e
tree867f424f371edff9e4e150368c07eb9f0ce2ab2d
parent006534ec280495f6679701ae118713d923a98c55
parent3eb9a6b6503cdf228314fd6185df337d1ce11bc0
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 <pabeni@redhat.com>