[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191018191057.GG26267@pc-63.home>
Date: Fri, 18 Oct 2019 21:10:57 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: YueHaibing <yuehaibing@...wei.com>
Cc: rostedt@...dmis.org, mingo@...hat.com, ast@...nel.org,
kafai@...com, songliubraving@...com, yhs@...com, andriin@...com,
netdev@...r.kernel.org, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf-next] bpf: Fix build error without CONFIG_NET
On Fri, Oct 18, 2019 at 05:03:44PM +0800, YueHaibing wrote:
> If CONFIG_NET is n, building fails:
>
> kernel/trace/bpf_trace.o: In function `raw_tp_prog_func_proto':
> bpf_trace.c:(.text+0x1a34): undefined reference to `bpf_skb_output_proto'
>
> Wrap it into a #ifdef to fix this.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Fixes: a7658e1a4164 ("bpf: Check types of arguments passed into helpers")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thanks!
Powered by blists - more mailing lists