[lvc-project] [PATCH net v2] net: stmmac: Fix incorrect dereference in interrupt handlers
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Sat Feb 17 21:50:25 MSK 2024
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem at davemloft.net>:
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
More information about the lvc-project
mailing list