diff options
author | 2020-09-24 10:37:47 +0200 | |
---|---|---|
committer | 2020-09-24 20:08:48 -0700 | |
commit | 912aae27c6af6605eae967ab540c5e26bd76d421 (patch) | |
tree | 4f3367fed2c4862fd4e4dcc0f916ba5fec83de63 /net/ipv4/proc.c | |
parent | net/tls: race causes kernel panic (diff) | |
download | linux-912aae27c6af6605eae967ab540c5e26bd76d421.tar.gz linux-912aae27c6af6605eae967ab540c5e26bd76d421.tar.bz2 linux-912aae27c6af6605eae967ab540c5e26bd76d421.zip |
net: dsa: microchip: really look for phy-mode in port nodes
The previous implementation failed to account for the "ports" node. The
actual port nodes are not child nodes of the switch node, but a "ports"
node sits in between.
Fixes: edecfa98f602 ("net: dsa: microchip: look for phy-mode in port nodes")
Signed-off-by: Helmut Grohne <helmut.grohne@intenta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/proc.c')
0 files changed, 0 insertions, 0 deletions