diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-08-31 19:31:32 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-08-31 21:56:10 +0300 |
commit | 29523c5e6716521f6e2fb59d7785e2bc0b1a993a (patch) | |
tree | 3824404a0537ca3dbbe6b05bd8548db31c174016 /net/xdp/xdp_umem.c | |
parent | 9667305c6374df8672be46bc496f52f040999531 (diff) | |
download | linux-29523c5e6716521f6e2fb59d7785e2bc0b1a993a.tar.xz |
bpf: Fix build without BPF_LSM.
resolve_btfids doesn't like empty set. Add unused ID when BPF_LSM is off.
Fixes: 1e6c62a88215 ("bpf: Introduce sleepable BPF programs")
Reported-by: Björn Töpel <bjorn.topel@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Song Liu <songliubraving@fb.com>
Acked-by: KP Singh <kpsingh@google.com>
Link: https://lore.kernel.org/bpf/20200831163132.66521-1-alexei.starovoitov@gmail.com
Diffstat (limited to 'net/xdp/xdp_umem.c')
0 files changed, 0 insertions, 0 deletions