[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7a5abe48-4ede-ed75-7ec1-bf3175411e01@iogearbox.net>
Date: Wed, 29 Jul 2020 00:32:22 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Andrii Nakryiko <andriin@...com>, bpf@...r.kernel.org,
netdev@...r.kernel.org, ast@...com, rdunlap@...radead.org
Cc: andrii.nakryiko@...il.com, kernel-team@...com
Subject: Re: [PATCH bpf-next] bpf: fix build without CONFIG_NET when using BPF
XDP link
On 7/28/20 9:05 PM, Andrii Nakryiko wrote:
> 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 <rdunlap@...radead.org>
> Fixes: aa8d3a716b59 ("bpf, xdp: Add bpf_link-based XDP attachment API")
> Signed-off-by: Andrii Nakryiko <andriin@...com>
Applied, thanks!
Powered by blists - more mailing lists