lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <ZNYhyWCX16gjzqWv@shell.armlinux.org.uk> Date: Fri, 11 Aug 2023 12:55:53 +0100 From: "Russell King (Oracle)" <linux@...linux.org.uk> To: Vladimir Oltean <vladimir.oltean@....com> Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Camelia Groza <camelia.groza@....com>, Ioana Ciornei <ioana.ciornei@....com>, Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com> Subject: Re: [PATCH net-next] net: pcs: lynx: fix lynx_pcs_link_up_sgmii() not doing anything in fixed-link mode On Fri, Aug 11, 2023 at 02:53:52PM +0300, Vladimir Oltean wrote: > lynx_pcs_link_up_sgmii() is supposed to update the PCS speed and duplex > for the non-inband operating modes, and prior to the blamed commit, it > did just that, but a mistake sneaked into the conversion and reversed > the condition. Yes, it certainly looks that way, thanks for catching this. > It is easy for this to go undetected on platforms that also initialize > the PCS in the bootloader, because Linux doesn't reset it (although > maybe it should). The nature of the bug is that phylink will not touch > the IF_MODE_HALF_DUPLEX | IF_MODE_SPEED_MSK fields when it should, and > it will apparently keep working if the previous values set by the > bootloader were correct. > > Fixes: c689a6528c22 ("net: pcs: lynx: update PCS driver to use neg_mode") > Signed-off-by: Vladimir Oltean <vladimir.oltean@....com> Reviewed-by: Russell King (Oracle) <rmk+kernel@...linux.org.uk> Thanks! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists