Messages in this thread | | | Subject | Re: [PATCH bpf-next] bpf: Fix build error without CONFIG_INET | From | Daniel Borkmann <> | Date | Sat, 15 Jun 2019 01:24:12 +0200 |
| |
On 06/12/2019 11:18 AM, YueHaibing wrote: > If CONFIG_INET is not set, building fails: > > kernel/bpf/verifier.o: In function `check_mem_access': > verifier.c: undefined reference to `bpf_xdp_sock_is_valid_access' > kernel/bpf/verifier.o: In function `convert_ctx_accesses': > verifier.c: undefined reference to `bpf_xdp_sock_convert_ctx_access' > > Reported-by: Hulk Robot <hulkci@huawei.com> > Fixes: fada7fdc83c0 ("bpf: Allow bpf_map_lookup_elem() on an xskmap") > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied, thanks!
| |