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@xxxxxxxxxx> > Fixes: a7658e1a4164 ("bpf: Check types of arguments passed into helpers") > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> Applied, thanks!