diff options
| author | Andre Werner <[email protected]> | 2024-01-29 13:55:04 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-02-01 00:22:28 +0000 |
| commit | 61c81872815f46006982bb80460c0c80a949b35b (patch) | |
| tree | 7e3c7565cdc31d97aedec9306da9d319595eaf36 /net/unix/scm.c | |
| parent | ptp: lan743x: Use spin_lock instead of spin_lock_bh (diff) | |
| download | kernel-61c81872815f46006982bb80460c0c80a949b35b.tar.gz kernel-61c81872815f46006982bb80460c0c80a949b35b.zip | |
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/scm.c')
0 files changed, 0 insertions, 0 deletions
