diff options
author | Andre Werner <[email protected]> | 2024-01-29 14:55:04 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-31 16:22:28 -0800 |
commit | 61c81872815f46006982bb80460c0c80a949b35b (patch) | |
tree | 7e3c7565cdc31d97aedec9306da9d319595eaf36 /net/unix/garbage.c | |
parent | 96b93f08357c4cc858ec7543464f07e461e5713a (diff) |
net: phy: phy_device: Prevent nullptr exceptions on ISR
If phydev->irq is set unconditionally, check
for valid interrupt handler or fall back to polling mode to prevent
nullptr exceptions in interrupt service routine.
Signed-off-by: Andre Werner <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions