Thread (1 message) 1 message, 1 author, 2020-09-28

Re: linux-next: Tree for Sep 28 (kernel/bpf/verifier.c)

From: Randy Dunlap <hidden>
Date: 2020-09-28 17:35:32
Also in: bpf, linux-next, lkml

On 9/28/20 4:55 AM, Stephen Rothwell wrote:
Hi all,

Changes since 20200925:


when CONFIG_NET is not set/enabled:

../kernel/bpf/verifier.c:3990: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],
             ^~~~~~~~~~~~
             bpf_sock_ops
  CC      kernel/time/tick-oneshot.o
../kernel/bpf/verifier.c:3990:26: error: ‘BTF_SOCK_TYPE_SOCK_COMMON’ undeclared here (not in a function); did you mean ‘PTR_TO_SOCK_COMMON’?
  .btf_id = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON],
                          ^~~~~~~~~~~~~~~~~~~~~~~~~
                          PTR_TO_SOCK_COMMON


-- 
~Randy
Reported-by: Randy Dunlap <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help