diff options
author | 2019-12-12 11:22:50 +0100 | |
---|---|---|
committer | 2019-12-13 12:38:00 -0800 | |
commit | 67d69ccdf389f3b7fabb00e2d81473a915b3b64d (patch) | |
tree | 65332edc16f817e021a858ae12b5015259a9c52c /net | |
parent | libbpf: Fix printf compilation warnings on ppc64le arch (diff) | |
download | wireguard-linux-67d69ccdf389f3b7fabb00e2d81473a915b3b64d.tar.xz wireguard-linux-67d69ccdf389f3b7fabb00e2d81473a915b3b64d.zip |
libbpf: Recognize SK_REUSEPORT programs from section name
Allow loading BPF object files that contain SK_REUSEPORT programs without
having to manually set the program type before load if the the section name
is set to "sk_reuseport".
Makes user-space code needed to load SK_REUSEPORT BPF program more concise.
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191212102259.418536-2-jakub@cloudflare.com
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions