selftests/bpf: Let libbpf determine program type from section name

Now that libbpf can recognize SK_REUSEPORT programs, we no longer have to
pass a prog_type hint before loading the object file.

Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191212102259.418536-3-jakub@cloudflare.com
This commit is contained in:
Jakub Sitnicki 2019-12-12 11:22:51 +01:00 • committed by Alexei Starovoitov
commit 1fbcef929d
2 changed files with 4 additions and 10 deletions