[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160997580806.29559.1033130735626335263.git-patchwork-notify@kernel.org>
Date: Wed, 06 Jan 2021 23:30:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Alan Maguire <alan.maguire@...cle.com>
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
kafai@...com, songliubraving@...com, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org, toke@...hat.com,
wanghai38@...wei.com, quentin@...valent.com,
netdev@...r.kernel.org, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf] bpftool: fix compilation failure for net.o with older
glibc
Hello:
This patch was applied to bpf/bpf.git (refs/heads/master):
On Wed, 6 Jan 2021 15:59:06 +0000 you wrote:
> For older glibc ~2.17, #include'ing both linux/if.h and net/if.h
> fails due to complaints about redefinition of interface flags:
>
> CC net.o
> In file included from net.c:13:0:
> /usr/include/linux/if.h:71:2: error: redeclaration of enumerator ‘IFF_UP’
> IFF_UP = 1<<0, /* sysfs */
> ^
> /usr/include/net/if.h:44:5: note: previous definition of ‘IFF_UP’ was here
> IFF_UP = 0x1, /* Interface is up. */
>
> [...]
Here is the summary with links:
- [bpf] bpftool: fix compilation failure for net.o with older glibc
https://git.kernel.org/bpf/bpf/c/6f02b540d759
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists