aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-03-15 14:46:43 +0000
committerDavid S. Miller <davem@davemloft.net>2023-03-17 08:19:03 +0000
commitef63461caf427a77a04620d74ba90035a712af9c (patch)
tree7d3bb2405e8040719e894148ac179284f0f91d9b /net/ipv4/tcp_timer.c
parentabf36703d7046cd0aaf5ac5524d321851fb6bf03 (diff)
downloadlinux-ef63461caf427a77a04620d74ba90035a712af9c.tar.gz
linux-ef63461caf427a77a04620d74ba90035a712af9c.tar.bz2
linux-ef63461caf427a77a04620d74ba90035a712af9c.zip
net: pcs: xpcs: remove double-read of link state when using AN
Phylink does not want the current state of the link when reading the PCS link state - it wants the latched state. Don't double-read the MII status register. Phylink will re-read as necessary to capture transient link-down events as of dbae3388ea9c ("net: phylink: Force retrigger in case of latched link-fail indicator"). The above referenced commit is a dependency for this change, and thus this change should not be backported to any kernel that does not contain the above referenced commit. Fixes: fcb26bd2b6ca ("net: phy: Add Synopsys DesignWare XPCS MDIO module") Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions