linux/drivers/net/ethernet/freescale
Pavel Skripkin 9b5a333272 net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove
Access to netdev after free_netdev() will cause use-after-free bug.
Move debug log before free_netdev() call to avoid it.

Fixes: 7472dd9f64 ("staging: fsl-dpaa2/eth: Move print message")
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-17 14:47:07 +00:00
..
dpaa ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dpaa2 net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove 2021-11-17 14:47:07 +00:00
enetc net: convert users of bitmap_foo() to linkmode_foo() 2021-10-24 13:58:52 +01:00
fman ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
fs_enet ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
fec_main.c ethernet: fec: use eth_hw_addr_gen() 2021-10-19 12:46:25 +01:00
fec_mpc52xx_phy.c
fec_mpc52xx.c ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
fec_mpc52xx.h
fec_ptp.c net: fec_ptp: fix issue caused by refactor the fec_devtype 2021-06-16 12:39:03 -07:00
fec.h net: fec: add WoL support for i.MX8MQ 2021-08-13 16:10:31 -07:00
fsl_pq_mdio.c net: freescale: convert comma to semicolon 2020-12-09 16:23:08 -08:00
gianfar_ethtool.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
gianfar.c ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
gianfar.h net: gianfar: Implement rx_missed_errors counter 2021-06-17 11:39:48 -07:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile net: enetc: fix link error again 2021-04-22 13:23:07 -07:00
ucc_geth_ethtool.c net/freescale: Don't set zero if FW not-available in ucc_geth 2020-03-03 17:54:55 -08:00
ucc_geth.c ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
ucc_geth.h ethernet: ucc_geth: simplify rx/tx allocations 2021-01-21 12:19:56 -08:00
xgmac_mdio.c net: mdiobus: withdraw fwnode_mdbiobus_register 2021-06-25 11:46:29 -07:00