aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_hfsc.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-01-09 20:34:56 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-15 13:33:44 -0800
commitd9f903f6af3dc6d13b21c0eca8f4a169aa70d80d (patch)
tree4f1203cdd10f6b4fa5cec836d7fd08d60a406974 /net/sched/sch_hfsc.c
parentRevert "igb: reduce CPU0 latency when updating statistics" (diff)
downloadlinux-dev-d9f903f6af3dc6d13b21c0eca8f4a169aa70d80d.tar.xz
linux-dev-d9f903f6af3dc6d13b21c0eca8f4a169aa70d80d.zip
net: phy: fix too strict check in phy_start_aneg
When adding checks to detect wrong usage of the phylib API we added a check to phy_start_aneg() which is too strict. If the phylib state machine is in state PHY_HALTED we should allow reconfiguring and restarting aneg, and just don't touch the state. Fixes: 2b3e88ea6528 ("net: phy: improve phy state checking") Reported-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Tested-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_hfsc.c')
0 files changed, 0 insertions, 0 deletions