[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172549444349.1204284.10048717463562007415.git-patchwork-notify@kernel.org>
Date: Thu, 05 Sep 2024 00:00:43 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ido Schimmel <idosch@...dia.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, dsahern@...nel.org, gnault@...hat.com
Subject: Re: [PATCH net-next] ipv4: Fix user space build failure due to header
change
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 3 Sep 2024 16:35:54 +0300 you wrote:
> RT_TOS() from include/uapi/linux/in_route.h is defined using
> IPTOS_TOS_MASK from include/uapi/linux/ip.h. This is problematic for
> files such as include/net/ip_fib.h that want to use RT_TOS() as without
> including both header files kernel compilation fails:
>
> In file included from ./include/net/ip_fib.h:25,
> from ./include/net/route.h:27,
> from ./include/net/lwtunnel.h:9,
> from net/core/dst.c:24:
> ./include/net/ip_fib.h: In function ‘fib_dscp_masked_match’:
> ./include/uapi/linux/in_route.h:31:32: error: ‘IPTOS_TOS_MASK’ undeclared (first use in this function)
> 31 | #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
> | ^~~~~~~~~~~~~~
> ./include/net/ip_fib.h:440:45: note: in expansion of macro ‘RT_TOS’
> 440 | return dscp == inet_dsfield_to_dscp(RT_TOS(fl4->flowi4_tos));
>
> [...]
Here is the summary with links:
- [net-next] ipv4: Fix user space build failure due to header change
https://git.kernel.org/netdev/net-next/c/1083d733eb26
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