[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201015093748.587a72b5@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 15 Oct 2020 09:37:48 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <davem@...emloft.net>, <ast@...nel.org>, <daniel@...earbox.net>,
<kafai@...com>, <songliubraving@...com>, <yhs@...com>,
<andrii@...nel.org>, <john.fastabend@...il.com>,
<kpsingh@...omium.org>, <masahiroy@...nel.org>,
<netdev@...r.kernel.org>, <bpf@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] bpfilter: Fix build error with CONFIG_BPFILTER_UMH
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@...wei.com>
Applied, thank you!
Powered by blists - more mailing lists