linux/drivers/net/ethernet/freescale
Aleksandr Mishin 1dec67e0d9 fsl/fman: Fix refcount handling of fman-related devices
In mac_probe() there are multiple calls to of_find_device_by_node(),
fman_bind() and fman_port_bind() which takes references to of_dev->dev.
Not all references taken by these calls are released later on error path
in mac_probe() and in mac_remove() which lead to reference leaks.

Add references release.

Fixes: 3933961682 ("fsl/fman: Add FMan MAC driver")
Signed-off-by: Aleksandr Mishin <amishin@t-argos.ru>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-10-21 10:50:16 +02:00
..
dpaa Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-09-12 17:11:24 -07:00
dpaa2 netdev_features: convert NETIF_F_LLTX to dev->lltx 2024-09-03 11:36:43 +02:00
enetc net: enetc: disable NAPI after all rings are disabled 2024-10-11 15:45:11 -07:00
fman fsl/fman: Fix refcount handling of fman-related devices 2024-10-21 10:50:16 +02:00
fs_enet net: ethernet: fs_enet: Make the per clock optional 2024-09-15 08:29:30 -07:00
fec.h net: fec: Reload PTP registers after link-state change 2024-10-01 11:21:12 +02:00
fec_main.c net: fec: don't save PTP state if PTP is unsupported 2024-10-09 19:37:55 -07:00
fec_mpc52xx.c
fec_mpc52xx.h
fec_mpc52xx_phy.c
fec_ptp.c net: fec: Reload PTP registers after link-state change 2024-10-01 11:21:12 +02:00
fsl_pq_mdio.c net: fill in MODULE_DESCRIPTION()s for fsl_pq_mdio 2024-01-24 15:12:21 -08:00
gianfar.c net: gianfar: fix NVMEM mac address 2024-09-11 16:03:14 -07:00
gianfar.h
gianfar_ethtool.c gianfar: Remove setting of RX software timestamp 2024-09-03 15:17:49 -07:00
Kconfig
Makefile
ucc_geth.c
ucc_geth.h
ucc_geth_ethtool.c
xgmac_mdio.c