Re: [net-next v5 0/2] Prevent nullptr exceptions in ISR
From: patchwork-bot+netdevbpf
Date: Wed Jan 31 2024 - 19:30:38 EST
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 29 Jan 2024 14:55:03 +0100 you wrote:
> In case phydev->irq is modified unconditionally to a valid IRQ, handling
> the IRQ may lead to a nullptr exception if no interrupt handler is
> registered to the phy driver. phy_interrupt calls a
> phy_device->handle_interrupt unconditionally. And interrupts are enabled
> in phy_connect_direct if phydev->irq is not equal to PHY_POLL or
> PHY_MAC_INTERRUPT, so it does not check for a phy driver providing an ISR.
>
> [...]
Here is the summary with links:
- [net-next,v5,1/2] net: phy: phy_device: Prevent nullptr exceptions on ISR
https://git.kernel.org/netdev/net-next/c/61c81872815f
- [net-next,v5,2/2] net: phy: adin1100: Add interrupt support for link change
https://git.kernel.org/netdev/net-next/c/08b47dfdd6b8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html