diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-06-23 17:47:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-23 20:53:28 -0700 |
commit | 2e919bc446faee429ac862a6cdb5e40017051f6b (patch) | |
tree | 80a99ec14173d14095e261890736496170cebe8f /fs/cachefiles | |
parent | c718af2d00a37587b09e5958d142da7569f3d55b (diff) |
net: phylink: ensure manual pause mode configuration takes effect
We have been relying on link events and mac_config() when the manual
pause modes are changed. With recent developments, such as moving
the programming of link state to mac_link_up(), this no longer works.
To ensure that we update the MAC, we must generate a link-down followed
by a link-up event; we can do that by setting mac_link_dropped and
triggering a resolve.
Fixes: 91a208f2185a ("net: phylink: propagate resolved link config via mac_link_up()")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions