lkml.org 
[lkml]   [2020]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-next: Tree for Sep 28 (kernel/bpf/verifier.c)
From
Date
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 <rdunlap@infradead.org>

\
 
 \ /
  Last update: 2020-09-28 19:36    [W:0.050 / U:2.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site