On Thu, Jul 2, 2020 at 1:04 PM Alexei Starovoitov
<alexei.starovoi...@gmail.com> wrote:
>
> From: Alexei Starovoitov <a...@kernel.org>
>
> Refactor the code a bit to extract bpf_link_get_by_id() helper.
> It's similar to existing bpf_prog_by_id().
>
> Signed-off-by: Alexei Starovoitov <a...@kernel.org>
> ---

LGTM.

Acked-by: Andrii Nakryiko <andr...@fb.com>


>  include/linux/bpf.h  |  1 +
>  kernel/bpf/syscall.c | 46 +++++++++++++++++++++++++++-----------------
>  2 files changed, 29 insertions(+), 18 deletions(-)
>

[...]

Reply via email to