diff options
author | 2022-03-29 00:03:50 +0200 | |
---|---|---|
committer | 2022-03-29 10:47:24 +0200 | |
commit | ad7da1ce5749c0eb4f09dd7e5510123be56f10fb (patch) | |
tree | b976080c4d478eceb538f851162b4121000b4318 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'fix-uaf-bugs-caused-by-ax25_release' (diff) | |
download | wireguard-linux-ad7da1ce5749c0eb4f09dd7e5510123be56f10fb.tar.xz wireguard-linux-ad7da1ce5749c0eb4f09dd7e5510123be56f10fb.zip |
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 <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220328220350.3118969-1-michael@walle.cc
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions