Re: [PATCH net v2] net: stmmac: Fix incorrect dereference in interrupt handlers
From: patchwork-bot+netdevbpf
Date: Sat Feb 17 2024 - 13:50:33 EST
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Wed, 14 Feb 2024 12:27:17 +0300 you wrote:
> If 'dev' or 'data' is NULL, the 'priv' variable has an incorrect address
> when dereferencing calling netdev_err().
>
> Since we get as 'dev_id' or 'data' what was passed as the 'dev' argument
> to request_irq() during interrupt initialization (that is, the net_device
> and rx/tx queue pointers initialized at the time of the call) and since
> there are usually no checks for the 'dev_id' argument in such handlers
> in other drivers, remove these checks from the handlers in stmmac driver.
>
> [...]
Here is the summary with links:
- [net,v2] net: stmmac: Fix incorrect dereference in interrupt handlers
https://git.kernel.org/netdev/net/c/97dde8402633
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html