aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2022-03-29 00:03:50 +0200
committerPaolo Abeni <[email protected]>2022-03-29 10:47:24 +0200
commitad7da1ce5749c0eb4f09dd7e5510123be56f10fb (patch)
treeb976080c4d478eceb538f851162b4121000b4318 /net/unix/af_unix.c
parent807ca64e154638c7540f3dfb48a2b9a8a58385d0 (diff)
net: lan966x: fix kernel oops on ioctl when I/F is down
ioctls handled by phy_mii_ioctl() will cause a kernel oops when the interface is down. Fix it by making sure there is a PHY attached. Fixes: 735fec995b21 ("net: lan966x: Implement SIOCSHWTSTAMP and SIOCGHWTSTAMP") Signed-off-by: Michael Walle <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions