Re: [PATCH] bpfilter: Fix build error with CONFIG_BPFILTER_UMH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 15, 2020 at 9:37 AM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Wed, 14 Oct 2020 17:17:49 +0800 YueHaibing wrote:
> > IF CONFIG_BPFILTER_UMH is set, building fails:
> >
> > In file included from /usr/include/sys/socket.h:33:0,
> >                  from net/bpfilter/main.c:6:
> > /usr/include/bits/socket.h:390:10: fatal error: asm/socket.h: No such file or directory
> >  #include <asm/socket.h>
> >           ^~~~~~~~~~~~~~
> > compilation terminated.
> > scripts/Makefile.userprogs:43: recipe for target 'net/bpfilter/main.o' failed
> > make[2]: *** [net/bpfilter/main.o] Error 1
> >
> > Add missing include path to fix this.
> >
> > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
>
> Applied, thank you!

Please revert. The patch makes no sense.
Also please don't take bpf patches.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux