[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181122234948.jtavokuogyuw2xw7@ast-mbp>
Date: Thu, 22 Nov 2018 15:49:50 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Vlad Dumitrescu <vladum@...gle.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org,
Eric Dumazet <edumazet@...gle.com>,
Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH v2 bpf-next] bpf: add skb->tstamp r/w access from tc
clsact and cg skb progs
On Thu, Nov 22, 2018 at 02:39:16PM -0500, Vlad Dumitrescu wrote:
> This could be used to rate limit egress traffic in concert with a qdisc
> which supports Earliest Departure Time, such as FQ.
>
> Write access from cg skb progs only with CAP_SYS_ADMIN, since the value
> will be used by downstream qdiscs. It might make sense to relax this.
>
> Changes v1 -> v2:
> - allow access from cg skb, write only with CAP_SYS_ADMIN
>
> Signed-off-by: Vlad Dumitrescu <vladum@...gle.com>
Applied to bpf-next.
I copied Eric's and Willem's Acks from v1, since v2 is essentially the same.
Thanks everyone!
Powered by blists - more mailing lists