aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2019-10-18 09:03:44 +0000
committerDaniel Borkmann <[email protected]>2019-10-18 18:57:07 +0000
commit1f5343c0ae9673543055e9794362766e1f0ed163 (patch)
tree9876da34a90984c6976b49c9cdff572d51e4ec75 /scripts/bpf_helpers_doc.py
parentbpf: Fix bpf_attr.attach_btf_id check (diff)
downloadkernel-1f5343c0ae9673543055e9794362766e1f0ed163.tar.gz
kernel-1f5343c0ae9673543055e9794362766e1f0ed163.zip
bpf: Fix build error without CONFIG_NET
If CONFIG_NET is n, building fails: kernel/trace/bpf_trace.o: In function `raw_tp_prog_func_proto': bpf_trace.c:(.text+0x1a34): undefined reference to `bpf_skb_output_proto' Wrap it into a #ifdef to fix this. Fixes: a7658e1a4164 ("bpf: Check types of arguments passed into helpers") Reported-by: Hulk Robot <[email protected]> Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions