[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170621.151440.424326589634772993.davem@davemloft.net>
Date: Wed, 21 Jun 2017 15:14:40 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: daniel@...earbox.net
Cc: john.fastabend@...il.com, kafai@...com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] bpf: expose prog id for cls_bpf and act_bpf
From: Daniel Borkmann <daniel@...earbox.net>
Date: Wed, 21 Jun 2017 20:16:11 +0200
> In order to be able to retrieve the attached programs from cls_bpf
> and act_bpf, we need to expose the prog ids via netlink so that
> an application can later on get an fd based on the id through the
> BPF_PROG_GET_FD_BY_ID command, and dump related prog info via
> BPF_OBJ_GET_INFO_BY_FD command for bpf(2).
>
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
Applied, thanks Daniel.
Powered by blists - more mailing lists