diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2020-06-25 16:26:58 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-06-25 22:36:00 +0200 |
commit | 7a64135f3229a808067e4bd29be15fe6856a9ae6 (patch) | |
tree | 7c326d7d7b64b437c98820fd3dc8858a7278039e /net | |
parent | a9b59159d338d414acaa8e2f569d129d51c76452 (diff) | |
download | lwn-7a64135f3229a808067e4bd29be15fe6856a9ae6.tar.gz lwn-7a64135f3229a808067e4bd29be15fe6856a9ae6.zip |
libbpf: Adjust SEC short cut for expected attach type BPF_XDP_DEVMAP
Adjust the SEC("xdp_devmap/") prog type prefix to contain a
slash "/" for expected attach type BPF_XDP_DEVMAP. This is consistent
with other prog types like tracing.
Fixes: 2778797037a6 ("libbpf: Add SEC name for xdp programs attached to device map")
Suggested-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/159309521882.821855.6873145686353617509.stgit@firesoul
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions