aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorColin Foster <[email protected]>2023-01-27 09:14:27 -0800
committerDavid S. Miller <[email protected]>2023-01-30 09:24:15 +0000
commit73a876022273cbc9c1db7869a54444ce8b9d085e (patch)
tree0fb5a577deee919ebb151cfe48f2bf37b4d52580 /tools/testing/selftests/bpf/progs/test_autoload.c
parent611792920925fb088ddccbe2783c7f92fdfb6b64 (diff)
net: phy: fix null dereference in phy_attach_direct
Commit bc66fa87d4fd ("net: phy: Add link between phy dev and mac dev") introduced a link between net devices and phy devices. It fails to check whether dev is NULL, leading to a NULL dereference error. Fixes: bc66fa87d4fd ("net: phy: Add link between phy dev and mac dev") Signed-off-by: Colin Foster <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions