aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2021-05-25 18:35:29 +0000
committerDaniel Borkmann <[email protected]>2021-05-25 19:16:23 +0000
commit5c9d706f61336d9f7f285df64c734af778c70f39 (patch)
tree5ea8487331d41d40d5e3d2203ca363709b565159 /tools/bpf/bpftool/prog.c
parentselftests/bpf: Add test for l3 use of bpf_redirect_peer (diff)
downloadkernel-5c9d706f61336d9f7f285df64c734af778c70f39.tar.gz
kernel-5c9d706f61336d9f7f285df64c734af778c70f39.zip
bpf: Fix BPF_LSM kconfig symbol dependency
Similarly as 6bdacdb48e94 ("bpf: Fix BPF_JIT kconfig symbol dependency") we need to detangle the hard BPF_LSM dependency on NET. This was previously implicit by its dependency on BPF_JIT which itself was dependent on NET (but without any actual/real hard dependency code-wise). Given the latter was lifted, so should be the former as BPF_LSMs could well exist on net-less systems. This therefore also fixes a randconfig build error recently reported by Randy: ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto': bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto' ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto' [...] Fixes: b24abcff918a ("bpf, kconfig: Add consolidated menu entry for bpf with core options") Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions