[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168547502013.11706.8026190249596630284.git-patchwork-notify@kernel.org>
Date: Tue, 30 May 2023 19:30:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Andrea Claudi <aclaudi@...hat.com>
Cc: netdev@...r.kernel.org, stephen@...workplumber.org, dsahern@...il.com,
me@...chata.org
Subject: Re: [PATCH iproute2] ipstats: fix message reporting error
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@...workplumber.org>:
On Mon, 29 May 2023 18:59:15 +0200 you wrote:
> strerror() accepts any integer as arguments, but returns meaningful
> error descriptions only for positive integers.
>
> ipstats code uses strerror on a code path where either err is 0 or
> -ENOMEM, thus resulting in a useless error message.
>
> Fix this using errno and moving the error printing closer to the only
> function populating it in this code path.
>
> [...]
Here is the summary with links:
- [iproute2] ipstats: fix message reporting error
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=995096d946cb
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