On Mon, Jul 27, 2020 at 11:58 AM Randy Dunlap [off-list ref] wrote:
On 7/27/20 6:23 AM, Stephen Rothwell wrote:
quoted
Hi all,
Changes since 20200724:
on i386:
when CONFIG_XPS is not set/enabled:
ld: kernel/bpf/syscall.o: in function `__do_sys_bpf':
syscall.c:(.text+0x4482): undefined reference to `bpf_xdp_link_attach'
I can't repro this on x86-64 with CONFIG_XPS unset. Do you mind
sharing the exact config you've used?
I see that kernel/bpf/syscall.c doesn't include linux/netdevice.h
directly, so something must be preventing netdevice.h to eventually
get to bpf/syscall.c, but instead of guessing on the fix, I'd like to
repro it first. Thanks!
--
~Randy
Reported-by: Randy Dunlap <redacted>