aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/napi_threaded.py
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2025-07-30 20:23:23 +0000
committerJakub Kicinski <[email protected]>2025-08-05 23:00:53 +0000
commite88fbc30dda1cb7438515303704ceddb3ade4ecd (patch)
tree617431afedf92badf206039fc06d32ac71f3fdb5 /tools/testing/selftests/drivers/net/napi_threaded.py
parentdt-bindings: net: Replace bouncing Alexandru Tachici emails (diff)
downloadkernel-e88fbc30dda1cb7438515303704ceddb3ade4ecd.tar.gz
kernel-e88fbc30dda1cb7438515303704ceddb3ade4ecd.zip
net: ftgmac100: fix potential NULL pointer access in ftgmac100_phy_disconnect
After the call to phy_disconnect() netdev->phydev is reset to NULL. So fixed_phy_unregister() would be called with a NULL pointer as argument. Therefore cache the phy_device before this call. Fixes: e24a6c874601 ("net: ftgmac100: Get link speed and duplex for NC-SI") Cc: [email protected] Signed-off-by: Heiner Kallweit <[email protected]> Reviewed-by: Dawid Osuchowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/napi_threaded.py')
0 files changed, 0 insertions, 0 deletions