libbpf: introduce bpf_prog_detach2()
authorAlexei Starovoitov <ast@fb.com>
Tue, 3 Oct 2017 05:50:24 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Oct 2017 23:05:05 +0000 (16:05 -0700)
commit244d20efdb68c5c1a26c667baeb232ea163e2f69
treeddf239fde7d79e9c383edf3fa7aa8877c227359a
parent390ee7e29fc8e6e90d3065b00afb047c4ee552f9
libbpf: introduce bpf_prog_detach2()

introduce bpf_prog_detach2() that takes one more argument prog_fd
vs bpf_prog_detach() that takes only attach_fd and type.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h