[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174180423373.890466.587957696271695930.git-patchwork-notify@kernel.org>
Date: Wed, 12 Mar 2025 18:30:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Torben Nielsen <t8927095@...il.com>
Cc: netdev@...r.kernel.org, torben.nielsen@...vas.dk
Subject: Re: [PATCH iproute2-next] tc: nat: ffs should operation on host byte
ordered data
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@...workplumber.org>:
On Thu, 6 Mar 2025 12:25:20 +0100 you wrote:
> In print_nat the mask length is calculated as
>
> len = ffs(sel->mask);
> len = len ? 33 - len : 0;
>
> The mask is stored in network byte order, it should be converted
> to host byte order before calculating first bit set.
>
> [...]
Here is the summary with links:
- [iproute2-next] tc: nat: ffs should operation on host byte ordered data
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=afbfd2f2b0a6
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