On Thu, Jul 2, 2020 at 1:04 PM Alexei Starovoitov <[email protected]> wrote: > > From: Alexei Starovoitov <[email protected]> > > 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 <[email protected]> > ---
LGTM. Acked-by: Andrii Nakryiko <[email protected]> > include/linux/bpf.h | 1 + > kernel/bpf/syscall.c | 46 +++++++++++++++++++++++++++----------------- > 2 files changed, 29 insertions(+), 18 deletions(-) > [...]
