Re: [PATCH bpf-next] kernel/bpf/verifier: fix build when NET is not enabled

2020-10-07 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Tue, 6 Oct 2020 19:16:13 -0700 you wrote: > Fix build errors in kernel/bpf/verifier.c when CONFIG_NET is > not enabled. > > ../kernel/bpf/verifier.c:3995:13: error: ‘btf_sock_ids’ undeclared here (not > in a function); d

Re: [PATCH bpf-next] kernel/bpf/verifier: fix build when NET is not enabled

2020-10-06 Thread Yonghong Song
On 10/6/20 7:16 PM, Randy Dunlap wrote: Fix build errors in kernel/bpf/verifier.c when CONFIG_NET is not enabled. ../kernel/bpf/verifier.c:3995:13: error: ‘btf_sock_ids’ undeclared here (not in a function); did you mean ‘bpf_sock_ops’? .btf_id = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON],

[PATCH bpf-next] kernel/bpf/verifier: fix build when NET is not enabled

2020-10-06 Thread Randy Dunlap
Fix build errors in kernel/bpf/verifier.c when CONFIG_NET is not enabled. ../kernel/bpf/verifier.c:3995:13: error: ‘btf_sock_ids’ undeclared here (not in a function); did you mean ‘bpf_sock_ops’? .btf_id = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], ../kernel/bpf/verifier.c:3995:26: error: ‘BTF_