Re: [PATCH net v2] net: natsemi: fix `rx_dropped` double accounting on `netif_rx()` failure

From: patchwork-bot+netdevbpf

Date: Mon Sep 15 2025 - 22:20:05 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Sat, 13 Sep 2025 15:01:36 +0900 you wrote:
> `netif_rx()` already increments `rx_dropped` core stat when it fails.
> The driver was also updating `ndev->stats.rx_dropped` in the same path.
> Since both are reported together via `ip -s -s` command, this resulted
> in drops being counted twice in user-visible stats.
>
> Keep the driver update on `if (unlikely(!skb))`, but skip it after
> `netif_rx()` errors.
>
> [...]

Here is the summary with links:
- [net,v2] net: natsemi: fix `rx_dropped` double accounting on `netif_rx()` failure
https://git.kernel.org/netdev/net/c/93ab4881a4e2

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html