Re: [ovs-dev] [PATCH 1/2] net: openvswitch: allow metering in non-initial user namespace

2022-09-20 Thread Paolo Abeni
On Sun, 2022-09-11 at 19:38 +0200, Michael Weiß wrote: > 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

[ovs-dev] [PATCH 1/2] net: openvswitch: allow metering in non-initial user namespace

2022-09-11 Thread Michael Weiß
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ß --- net/openvswitch/meter.c | 12 ++-- 1 file