linux_dsm_epyc7002/drivers/net/phy
Andrew Lunn fdfdf86720 net: phy: marvell: Fix buffer overrun with stats counters
marvell_get_sset_count() returns how many statistics counters there
are. If the PHY supports fibre, there are 3, otherwise two.

marvell_get_strings() does not make this distinction, and always
returns 3 strings. This then often results in writing past the end
of the buffer for the strings.

Fixes: 2170fef78a ("Marvell phy: add field to get errors from fiber link.")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-26 12:06:14 -04:00
..
amd.c
aquantia_hwmon.c net: phy: aquantia: add hwmon support 2019-02-25 14:16:22 -08:00
aquantia_main.c net: phy: aquantia: add hwmon support 2019-02-25 14:16:22 -08:00
aquantia.h net: phy: aquantia: add hwmon support 2019-02-25 14:16:22 -08:00
asix.c
at803x.c net: phy: at803x: disable delay only for RGMII mode 2019-02-22 15:30:03 -08:00
bcm7xxx.c
bcm63xx.c
bcm87xx.c
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
broadcom.c net: phy: bcm54xx: Encode link speed and activity into LEDs 2019-03-26 11:24:47 -07:00
cicada.c
cortina.c net: phy: remove gen10g_no_soft_reset 2019-03-03 21:47:57 -08:00
davicom.c
dp83tc811.c
dp83640_reg.h
dp83640.c
dp83822.c net: phy: Add DP83825I to the DP83822 driver 2019-03-21 13:21:14 -07:00
dp83848.c
dp83867.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-03-02 12:54:35 -08:00
et1011c.c
fixed_phy.c net: phy: fix reading fixed phy status 2019-02-24 22:29:14 -08:00
icplus.c
intel-xway.c
Kconfig net: phy: Re-parent menus for MDIO bus drivers correctly 2019-03-23 20:55:21 -04:00
lxt.c
Makefile drivers: net: phy: mdio-mux: Add support for Generic Mux controls 2019-02-27 12:52:20 -08:00
marvell10g.c net: phy: remove gen10g_no_soft_reset 2019-03-03 21:47:57 -08:00
marvell.c net: phy: marvell: Fix buffer overrun with stats counters 2019-04-26 12:06:14 -04:00
mdio_bus.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-24 12:06:19 -08:00
mdio_device.c
mdio-bcm-iproc.c
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-boardinfo.c
mdio-boardinfo.h
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c
mdio-hisi-femac.c
mdio-i2c.c
mdio-i2c.h
mdio-moxart.c
mdio-mscc-miim.c
mdio-mux-bcm-iproc.c
mdio-mux-gpio.c
mdio-mux-mmioreg.c
mdio-mux-multiplexer.c drivers: net: phy: mdio-mux: Add support for Generic Mux controls 2019-02-27 12:52:20 -08:00
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c
mdio-thunder.c
mdio-xgene.c
mdio-xgene.h
meson-gxl.c net: phy: meson-gxl: fix interrupt support 2019-03-15 15:33:43 -07:00
micrel.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-03-02 12:54:35 -08:00
microchip_t1.c
microchip.c
mscc.c
national.c
phy_device.c net: phy: don't clear BMCR in genphy_soft_reset 2019-03-25 17:08:21 -07:00
phy_led_triggers.c
phy-c45.c net: phy: use phy_modify_mmd_changed in genphy_c45_an_config_aneg 2019-03-04 13:10:10 -08:00
phy-core.c
phy.c net: phy: use genphy_c45_aneg_done in genphy_aneg_done 2019-03-03 21:47:42 -08:00
phylink.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-03-02 12:54:35 -08:00
qsemi.c
realtek.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-24 12:06:19 -08:00
rockchip.c
sfp-bus.c
sfp.c
sfp.h
smsc.c
spi_ks8995.c spi: Micrel eth switch: declare missing of table 2019-04-23 10:44:44 -07:00
ste10Xp.c
swphy.c net: phy: improve auto-neg emulation in swphy 2019-02-24 22:28:15 -08:00
swphy.h
teranetics.c net: phy: remove gen10g_no_soft_reset 2019-03-03 21:47:57 -08:00
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c