[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176222041749.2285814.8859925220463360389.git-patchwork-notify@kernel.org>
Date: Tue, 04 Nov 2025 01:40:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vivian Wang <wangruikang@...as.ac.cn>
Cc: andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, dlan@...too.org,
maxime.chevallier@...tlin.com, troy.mitchell@...ux.spacemit.com,
vadim.fedorenko@...ux.dev, netdev@...r.kernel.org,
linux-riscv@...ts.infradead.org, spacemit@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v3] net: spacemit: Check netif_running() in
emac_set_pauseparam()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 03 Nov 2025 10:02:49 +0800 you wrote:
> Currently, emac_set_pauseparam() will oops if userspace calls it while
> the interface is not up, because phydev is NULL, but it is still
> accessed in emac_set_fc() and emac_set_fc_autoneg().
>
> Check for netif_running(dev) in emac_set_pauseparam() before proceeding.
>
> Fixes: bfec6d7f2001 ("net: spacemit: Add K1 Ethernet MAC")
> Signed-off-by: Vivian Wang <wangruikang@...as.ac.cn>
>
> [...]
Here is the summary with links:
- [net,v3] net: spacemit: Check netif_running() in emac_set_pauseparam()
https://git.kernel.org/netdev/net/c/5556f23478e6
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