[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172334834804.125619.10250611606174817787.git-patchwork-notify@kernel.org>
Date: Sun, 11 Aug 2024 03:52:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Moon Yeounsu <yyyynoom@...il.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] net: ethernet: use ip_hdrlen() instead of bit shift
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Wed, 7 Aug 2024 19:07:21 +0900 you wrote:
> `ip_hdr(skb)->ihl << 2` is the same as `ip_hdrlen(skb)`
> Therefore, we should use a well-defined function not a bit shift
> to find the header length.
>
> It also compresses two lines to a single line.
>
> Signed-off-by: Moon Yeounsu <yyyynoom@...il.com>
>
> [...]
Here is the summary with links:
- [v3] net: ethernet: use ip_hdrlen() instead of bit shift
https://git.kernel.org/netdev/net/c/9a039eeb71a4
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