diff options
author | Michael Weiß <michael.weiss@aisec.fraunhofer.de> | 2022-09-23 15:38:19 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-09-27 11:31:36 +0200 |
commit | 8039371847174ff37dc3d02e83cd789dbb6140b0 (patch) | |
tree | 883d55e5963ad933648eddd2be5f2e5120525748 /net/openvswitch/conntrack.c | |
parent | 6627a2074d5c82b3efd71c978f13f93f7ab9bf46 (diff) | |
download | linux-8039371847174ff37dc3d02e83cd789dbb6140b0.tar.gz linux-8039371847174ff37dc3d02e83cd789dbb6140b0.tar.bz2 linux-8039371847174ff37dc3d02e83cd789dbb6140b0.zip |
net: openvswitch: allow metering in non-initial user namespace
The Netlink interface for metering was restricted to global CAP_NET_ADMIN
by using GENL_ADMIN_PERM. To allow metring in a non-inital user namespace,
e.g., a container, this is changed to GENL_UNS_ADMIN_PERM.
Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/openvswitch/conntrack.c')
0 files changed, 0 insertions, 0 deletions