Thread (4 messages) read the whole thread 4 messages, 4 authors, 2020-07-28

Re: [PATCH bpf-next] bpf: fix build without CONFIG_NET when using BPF XDP link

From: Song Liu <song@kernel.org>
Date: 2020-07-28 20:24:06
Also in: bpf

On Tue, Jul 28, 2020 at 1:08 PM Randy Dunlap [off-list ref] wrote:
On 7/28/20 12:05 PM, Andrii Nakryiko wrote:
quoted
Entire net/core subsystem is not built without CONFIG_NET. linux/netdevice.h
just assumes that it's always there, so the easiest way to fix this is to
conditionally compile out bpf_xdp_link_attach() use in bpf/syscall.c.

Reported-by: Randy Dunlap <redacted>
Fixes: aa8d3a716b59 ("bpf, xdp: Add bpf_link-based XDP attachment API")
Signed-off-by: Andrii Nakryiko <redacted>
Acked-by: Randy Dunlap <redacted> # build-tested
Acked-by: Song Liu <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