Skip to content
Commit 80393718 authored by Michael Weiß's avatar Michael Weiß Committed by Paolo Abeni
Browse files

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: default avatarMichael Weiß <michael.weiss@aisec.fraunhofer.de>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 6627a207
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment