]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf82c727e8b608ba1b6a0a45aae52e107ef8ddc04
tree867f424f371edff9e4e150368c07eb9f0ce2ab2d
parente66bb0f210474ac757d5ac3e358de64443f5a6eb
parent226b866936a989a6802ccdad43c1763080414723
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>