aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2019-06-12 17:18:47 +0800
committerDaniel Borkmann <[email protected]>2019-06-15 01:22:00 +0200
commit7f94208c8f9a0a6d2ff0e0c0858c00ad8e5c8617 (patch)
tree96bb91d42ef8d78ff45ff03a458301bb96669ca9 /tools/lib/bpf/bpf_prog_linfo.c
parent69d96519dbf0bfa1868dc8597d4b9b2cdeb009d7 (diff)
bpf: Fix build error without CONFIG_INET
If CONFIG_INET is not set, building fails: kernel/bpf/verifier.o: In function `check_mem_access': verifier.c: undefined reference to `bpf_xdp_sock_is_valid_access' kernel/bpf/verifier.o: In function `convert_ctx_accesses': verifier.c: undefined reference to `bpf_xdp_sock_convert_ctx_access' Reported-by: Hulk Robot <[email protected]> Fixes: fada7fdc83c0 ("bpf: Allow bpf_map_lookup_elem() on an xskmap") Signed-off-by: YueHaibing <[email protected]> Acked-by: Jonathan Lemon <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions