aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/af_unix.h
diff options
context:
space:
mode:
authorAndre Werner <[email protected]>2024-01-29 13:55:04 +0000
committerJakub Kicinski <[email protected]>2024-02-01 00:22:28 +0000
commit61c81872815f46006982bb80460c0c80a949b35b (patch)
tree7e3c7565cdc31d97aedec9306da9d319595eaf36 /include/net/af_unix.h
parentptp: lan743x: Use spin_lock instead of spin_lock_bh (diff)
downloadkernel-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 'include/net/af_unix.h')
0 files changed, 0 insertions, 0 deletions