Re: [PATCH bpf-next v3 08/13] tools: libbpf: add extended attributes version of bpf_object__open()

2018-07-10 Thread Andrey Ignatov
Jakub Kicinski [Tue, 2018-07-10 14:43 -0700]: > Similarly to bpf_prog_load() users of bpf_object__open() may need > to specify the expected program type. Program type is needed at > open to avoid the kernel version check for program types which don't > require it. > > Signed-off-by: Jakub

[PATCH bpf-next v3 08/13] tools: libbpf: add extended attributes version of bpf_object__open()

2018-07-10 Thread Jakub Kicinski
Similarly to bpf_prog_load() users of bpf_object__open() may need to specify the expected program type. Program type is needed at open to avoid the kernel version check for program types which don't require it. Signed-off-by: Jakub Kicinski Reviewed-by: Quentin Monnet --- v3 (Andrey): - put