On Thu, Jan 17, 2019 at 07:20:51PM +0000, Martin Lau wrote:
> On Thu, Jan 17, 2019 at 04:15:09PM +0100, Daniel Borkmann wrote:
> > Dan reported that bpftool does not compile for him:
> > 
> >   $ make tools/bpf
> >     DESCEND  bpf
> > 
> >   Auto-detecting system features:
> >   ..                        libbfd: [ on  ]
> >   ..        disassembler-four-args: [ OFF ]
> > 
> >     DESCEND  bpftool
> > 
> >   Auto-detecting system features:
> >   ..                        libbfd: [ on  ]
> >   ..        disassembler-four-args: [ OFF ]
> > 
> >     CC       /opt/linux.git/tools/bpf/bpftool/net.o
> >   In file included from 
> > /opt/linux.git/tools/include/uapi/linux/pkt_cls.h:6:0,
> >                  from 
> > /opt/linux.git/tools/include/uapi/linux/tc_act/tc_bpf.h:14,
> >                  from net.c:13:
> >   net.c: In function 'show_dev_tc_bpf':
> >   net.c:164:21: error: 'TC_H_CLSACT' undeclared (first use in this function)
> >     handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS);
> >   [...]
> > 
> > Fix it by importing pkt_sched.h header copy into tooling
> > infrastructure.
> Acked-by: Martin KaFai Lau <ka...@fb.com>

Applied, Thanks

Reply via email to