* [PATCH 0/5] net: ethernet: fix device leaks
@ 2025-07-25 17:12 Johan Hovold
2025-07-25 17:12 ` [PATCH 1/5] net: dpaa: fix device leak when querying time stamp info Johan Hovold
` (5 more replies)
0 siblings, 6 replies; 12+ messages in thread
From: Johan Hovold @ 2025-07-25 17:12 UTC (permalink / raw)
To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Madalin Bucur, Claudiu Manoil, Vladimir Oltean, Wei Fang,
Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel,
Johan Hovold
This series fixes devices leaks stemming from failure to drop the
reference taken by of_find_device_by_node().
Johan
Johan Hovold (5):
net: dpaa: fix device leak when querying time stamp info
net: enetc: fix device and OF node leak at probe
net: gianfar: fix device leak when querying time stamp info
net: mtk_eth_soc: fix device leak at probe
net: ti: icss-iep: fix device and OF node leaks at probe
.../ethernet/freescale/dpaa/dpaa_ethtool.c | 4 +++-
.../net/ethernet/freescale/enetc/enetc_pf.c | 14 +++++++++--
.../net/ethernet/freescale/gianfar_ethtool.c | 4 +++-
drivers/net/ethernet/mediatek/mtk_wed.c | 1 -
drivers/net/ethernet/ti/icssg/icss_iep.c | 23 +++++++++++++++----
5 files changed, 36 insertions(+), 10 deletions(-)
--
2.49.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/5] net: dpaa: fix device leak when querying time stamp info
2025-07-25 17:12 [PATCH 0/5] net: ethernet: fix device leaks Johan Hovold
@ 2025-07-25 17:12 ` Johan Hovold
2025-07-26 20:48 ` Simon Horman
2025-07-25 17:12 ` [PATCH 2/5] net: enetc: fix device and OF node leak at probe Johan Hovold
` (4 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Johan Hovold @ 2025-07-25 17:12 UTC (permalink / raw)
To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Madalin Bucur, Claudiu Manoil, Vladimir Oltean, Wei Fang,
Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel,
Johan Hovold, stable, Yangbo Lu
Make sure to drop the reference to the ptp device taken by
of_find_device_by_node() when querying the time stamping capabilities.
Note that holding a reference to the ptp device does not prevent its
driver data from going away.
Fixes: 17ae0b0ee9db ("dpaa_eth: add the get_ts_info interface for ethtool")
Cc: stable@vger.kernel.org # 4.19
Cc: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c b/drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c
index 9986f6e1f587..7fc01baef280 100644
--- a/drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c
+++ b/drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c
@@ -401,8 +401,10 @@ static int dpaa_get_ts_info(struct net_device *net_dev,
of_node_put(ptp_node);
}
- if (ptp_dev)
+ if (ptp_dev) {
ptp = platform_get_drvdata(ptp_dev);
+ put_device(&ptp_dev->dev);
+ }
if (ptp)
info->phc_index = ptp->phc_index;
--
2.49.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/5] net: enetc: fix device and OF node leak at probe
2025-07-25 17:12 [PATCH 0/5] net: ethernet: fix device leaks Johan Hovold
2025-07-25 17:12 ` [PATCH 1/5] net: dpaa: fix device leak when querying time stamp info Johan Hovold
@ 2025-07-25 17:12 ` Johan Hovold
2025-07-26 20:49 ` Simon Horman
2025-07-25 17:12 ` [PATCH 3/5] net: gianfar: fix device leak when querying time stamp info Johan Hovold
` (3 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Johan Hovold @ 2025-07-25 17:12 UTC (permalink / raw)
To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Madalin Bucur, Claudiu Manoil, Vladimir Oltean, Wei Fang,
Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel,
Johan Hovold, stable
Make sure to drop the references to the IERB OF node and platform device
taken by of_parse_phandle() and of_find_device_by_node() during probe.
Fixes: e7d48e5fbf30 ("net: enetc: add a mini driver for the Integrated Endpoint Register Block")
Cc: stable@vger.kernel.org # 5.13
Cc: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/net/ethernet/freescale/enetc/enetc_pf.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_pf.c b/drivers/net/ethernet/freescale/enetc/enetc_pf.c
index f63a29e2e031..de0fb272c847 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc_pf.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc_pf.c
@@ -829,19 +829,29 @@ static int enetc_pf_register_with_ierb(struct pci_dev *pdev)
{
struct platform_device *ierb_pdev;
struct device_node *ierb_node;
+ int ret;
ierb_node = of_find_compatible_node(NULL, NULL,
"fsl,ls1028a-enetc-ierb");
- if (!ierb_node || !of_device_is_available(ierb_node))
+ if (!ierb_node)
return -ENODEV;
+ if (!of_device_is_available(ierb_node)) {
+ of_node_put(ierb_node);
+ return -ENODEV;
+ }
+
ierb_pdev = of_find_device_by_node(ierb_node);
of_node_put(ierb_node);
if (!ierb_pdev)
return -EPROBE_DEFER;
- return enetc_ierb_register_pf(ierb_pdev, pdev);
+ ret = enetc_ierb_register_pf(ierb_pdev, pdev);
+
+ put_device(&ierb_pdev->dev);
+
+ return ret;
}
static const struct enetc_si_ops enetc_psi_ops = {
--
2.49.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 3/5] net: gianfar: fix device leak when querying time stamp info
2025-07-25 17:12 [PATCH 0/5] net: ethernet: fix device leaks Johan Hovold
2025-07-25 17:12 ` [PATCH 1/5] net: dpaa: fix device leak when querying time stamp info Johan Hovold
2025-07-25 17:12 ` [PATCH 2/5] net: enetc: fix device and OF node leak at probe Johan Hovold
@ 2025-07-25 17:12 ` Johan Hovold
2025-07-26 20:49 ` Simon Horman
2025-07-25 17:12 ` [PATCH 4/5] net: mtk_eth_soc: fix device leak at probe Johan Hovold
` (2 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Johan Hovold @ 2025-07-25 17:12 UTC (permalink / raw)
To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Madalin Bucur, Claudiu Manoil, Vladimir Oltean, Wei Fang,
Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel,
Johan Hovold, stable, Yangbo Lu
Make sure to drop the reference to the ptp device taken by
of_find_device_by_node() when querying the time stamping capabilities.
Note that holding a reference to the ptp device does not prevent its
driver data from going away.
Fixes: 7349a74ea75c ("net: ethernet: gianfar_ethtool: get phc index through drvdata")
Cc: stable@vger.kernel.org # 4.18
Cc: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/net/ethernet/freescale/gianfar_ethtool.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/freescale/gianfar_ethtool.c b/drivers/net/ethernet/freescale/gianfar_ethtool.c
index 781d92e703cb..c9992ed4e301 100644
--- a/drivers/net/ethernet/freescale/gianfar_ethtool.c
+++ b/drivers/net/ethernet/freescale/gianfar_ethtool.c
@@ -1466,8 +1466,10 @@ static int gfar_get_ts_info(struct net_device *dev,
if (ptp_node) {
ptp_dev = of_find_device_by_node(ptp_node);
of_node_put(ptp_node);
- if (ptp_dev)
+ if (ptp_dev) {
ptp = platform_get_drvdata(ptp_dev);
+ put_device(&ptp_dev->dev);
+ }
}
if (ptp)
--
2.49.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 4/5] net: mtk_eth_soc: fix device leak at probe
2025-07-25 17:12 [PATCH 0/5] net: ethernet: fix device leaks Johan Hovold
` (2 preceding siblings ...)
2025-07-25 17:12 ` [PATCH 3/5] net: gianfar: fix device leak when querying time stamp info Johan Hovold
@ 2025-07-25 17:12 ` Johan Hovold
2025-07-26 20:49 ` Simon Horman
2025-07-25 17:12 ` [PATCH 5/5] net: ti: icss-iep: fix device and OF node leaks " Johan Hovold
2025-07-31 1:10 ` [PATCH 0/5] net: ethernet: fix device leaks patchwork-bot+netdevbpf
5 siblings, 1 reply; 12+ messages in thread
From: Johan Hovold @ 2025-07-25 17:12 UTC (permalink / raw)
To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Madalin Bucur, Claudiu Manoil, Vladimir Oltean, Wei Fang,
Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel,
Johan Hovold, stable
The reference count to the WED devices has already been incremented when
looking them up using of_find_device_by_node() so drop the bogus
additional reference taken during probe.
Fixes: 804775dfc288 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)")
Cc: stable@vger.kernel.org # 5.19
Cc: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/net/ethernet/mediatek/mtk_wed.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/mediatek/mtk_wed.c b/drivers/net/ethernet/mediatek/mtk_wed.c
index 351dd152f4f3..4f3014fc389b 100644
--- a/drivers/net/ethernet/mediatek/mtk_wed.c
+++ b/drivers/net/ethernet/mediatek/mtk_wed.c
@@ -2794,7 +2794,6 @@ void mtk_wed_add_hw(struct device_node *np, struct mtk_eth *eth,
if (!pdev)
goto err_of_node_put;
- get_device(&pdev->dev);
irq = platform_get_irq(pdev, 0);
if (irq < 0)
goto err_put_device;
--
2.49.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 5/5] net: ti: icss-iep: fix device and OF node leaks at probe
2025-07-25 17:12 [PATCH 0/5] net: ethernet: fix device leaks Johan Hovold
` (3 preceding siblings ...)
2025-07-25 17:12 ` [PATCH 4/5] net: mtk_eth_soc: fix device leak at probe Johan Hovold
@ 2025-07-25 17:12 ` Johan Hovold
2025-07-26 20:50 ` Simon Horman
2025-07-31 1:10 ` [PATCH 0/5] net: ethernet: fix device leaks patchwork-bot+netdevbpf
5 siblings, 1 reply; 12+ messages in thread
From: Johan Hovold @ 2025-07-25 17:12 UTC (permalink / raw)
To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Madalin Bucur, Claudiu Manoil, Vladimir Oltean, Wei Fang,
Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel,
Johan Hovold, stable
Make sure to drop the references to the IEP OF node and device taken by
of_parse_phandle() and of_find_device_by_node() when looking up IEP
devices during probe.
Drop the bogus additional reference taken on successful lookup so that
the device is released correctly by icss_iep_put().
Fixes: c1e0230eeaab ("net: ti: icss-iep: Add IEP driver")
Cc: stable@vger.kernel.org # 6.6
Cc: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/net/ethernet/ti/icssg/icss_iep.c | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/ti/icssg/icss_iep.c b/drivers/net/ethernet/ti/icssg/icss_iep.c
index 2a1c43316f46..50bfbc2779e4 100644
--- a/drivers/net/ethernet/ti/icssg/icss_iep.c
+++ b/drivers/net/ethernet/ti/icssg/icss_iep.c
@@ -685,11 +685,17 @@ struct icss_iep *icss_iep_get_idx(struct device_node *np, int idx)
struct platform_device *pdev;
struct device_node *iep_np;
struct icss_iep *iep;
+ int ret;
iep_np = of_parse_phandle(np, "ti,iep", idx);
- if (!iep_np || !of_device_is_available(iep_np))
+ if (!iep_np)
return ERR_PTR(-ENODEV);
+ if (!of_device_is_available(iep_np)) {
+ of_node_put(iep_np);
+ return ERR_PTR(-ENODEV);
+ }
+
pdev = of_find_device_by_node(iep_np);
of_node_put(iep_np);
@@ -698,21 +704,28 @@ struct icss_iep *icss_iep_get_idx(struct device_node *np, int idx)
return ERR_PTR(-EPROBE_DEFER);
iep = platform_get_drvdata(pdev);
- if (!iep)
- return ERR_PTR(-EPROBE_DEFER);
+ if (!iep) {
+ ret = -EPROBE_DEFER;
+ goto err_put_pdev;
+ }
device_lock(iep->dev);
if (iep->client_np) {
device_unlock(iep->dev);
dev_err(iep->dev, "IEP is already acquired by %s",
iep->client_np->name);
- return ERR_PTR(-EBUSY);
+ ret = -EBUSY;
+ goto err_put_pdev;
}
iep->client_np = np;
device_unlock(iep->dev);
- get_device(iep->dev);
return iep;
+
+err_put_pdev:
+ put_device(&pdev->dev);
+
+ return ERR_PTR(ret);
}
EXPORT_SYMBOL_GPL(icss_iep_get_idx);
--
2.49.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 1/5] net: dpaa: fix device leak when querying time stamp info
2025-07-25 17:12 ` [PATCH 1/5] net: dpaa: fix device leak when querying time stamp info Johan Hovold
@ 2025-07-26 20:48 ` Simon Horman
0 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2025-07-26 20:48 UTC (permalink / raw)
To: Johan Hovold
Cc: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Madalin Bucur, Claudiu Manoil, Vladimir Oltean,
Wei Fang, Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel, stable,
Yangbo Lu
On Fri, Jul 25, 2025 at 07:12:09PM +0200, Johan Hovold wrote:
> Make sure to drop the reference to the ptp device taken by
> of_find_device_by_node() when querying the time stamping capabilities.
>
> Note that holding a reference to the ptp device does not prevent its
> driver data from going away.
>
> Fixes: 17ae0b0ee9db ("dpaa_eth: add the get_ts_info interface for ethtool")
> Cc: stable@vger.kernel.org # 4.19
> Cc: Yangbo Lu <yangbo.lu@nxp.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/5] net: enetc: fix device and OF node leak at probe
2025-07-25 17:12 ` [PATCH 2/5] net: enetc: fix device and OF node leak at probe Johan Hovold
@ 2025-07-26 20:49 ` Simon Horman
0 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2025-07-26 20:49 UTC (permalink / raw)
To: Johan Hovold
Cc: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Madalin Bucur, Claudiu Manoil, Vladimir Oltean,
Wei Fang, Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel, stable
On Fri, Jul 25, 2025 at 07:12:10PM +0200, Johan Hovold wrote:
> Make sure to drop the references to the IERB OF node and platform device
> taken by of_parse_phandle() and of_find_device_by_node() during probe.
>
> Fixes: e7d48e5fbf30 ("net: enetc: add a mini driver for the Integrated Endpoint Register Block")
> Cc: stable@vger.kernel.org # 5.13
> Cc: Vladimir Oltean <vladimir.oltean@nxp.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 3/5] net: gianfar: fix device leak when querying time stamp info
2025-07-25 17:12 ` [PATCH 3/5] net: gianfar: fix device leak when querying time stamp info Johan Hovold
@ 2025-07-26 20:49 ` Simon Horman
0 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2025-07-26 20:49 UTC (permalink / raw)
To: Johan Hovold
Cc: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Madalin Bucur, Claudiu Manoil, Vladimir Oltean,
Wei Fang, Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel, stable,
Yangbo Lu
On Fri, Jul 25, 2025 at 07:12:11PM +0200, Johan Hovold wrote:
> Make sure to drop the reference to the ptp device taken by
> of_find_device_by_node() when querying the time stamping capabilities.
>
> Note that holding a reference to the ptp device does not prevent its
> driver data from going away.
>
> Fixes: 7349a74ea75c ("net: ethernet: gianfar_ethtool: get phc index through drvdata")
> Cc: stable@vger.kernel.org # 4.18
> Cc: Yangbo Lu <yangbo.lu@nxp.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 4/5] net: mtk_eth_soc: fix device leak at probe
2025-07-25 17:12 ` [PATCH 4/5] net: mtk_eth_soc: fix device leak at probe Johan Hovold
@ 2025-07-26 20:49 ` Simon Horman
0 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2025-07-26 20:49 UTC (permalink / raw)
To: Johan Hovold
Cc: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Madalin Bucur, Claudiu Manoil, Vladimir Oltean,
Wei Fang, Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel, stable
On Fri, Jul 25, 2025 at 07:12:12PM +0200, Johan Hovold wrote:
> The reference count to the WED devices has already been incremented when
> looking them up using of_find_device_by_node() so drop the bogus
> additional reference taken during probe.
>
> Fixes: 804775dfc288 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)")
> Cc: stable@vger.kernel.org # 5.19
> Cc: Felix Fietkau <nbd@nbd.name>
> Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 5/5] net: ti: icss-iep: fix device and OF node leaks at probe
2025-07-25 17:12 ` [PATCH 5/5] net: ti: icss-iep: fix device and OF node leaks " Johan Hovold
@ 2025-07-26 20:50 ` Simon Horman
0 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2025-07-26 20:50 UTC (permalink / raw)
To: Johan Hovold
Cc: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Madalin Bucur, Claudiu Manoil, Vladimir Oltean,
Wei Fang, Clark Wang, Felix Fietkau, Sean Wang, Lorenzo Bianconi,
Matthias Brugger, AngeloGioacchino Del Regno, MD Danish Anwar,
Roger Quadros, Richard Cochran, netdev, linux-kernel, stable
On Fri, Jul 25, 2025 at 07:12:13PM +0200, Johan Hovold wrote:
> Make sure to drop the references to the IEP OF node and device taken by
> of_parse_phandle() and of_find_device_by_node() when looking up IEP
> devices during probe.
>
> Drop the bogus additional reference taken on successful lookup so that
> the device is released correctly by icss_iep_put().
>
> Fixes: c1e0230eeaab ("net: ti: icss-iep: Add IEP driver")
> Cc: stable@vger.kernel.org # 6.6
> Cc: Roger Quadros <rogerq@kernel.org>
> Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 0/5] net: ethernet: fix device leaks
2025-07-25 17:12 [PATCH 0/5] net: ethernet: fix device leaks Johan Hovold
` (4 preceding siblings ...)
2025-07-25 17:12 ` [PATCH 5/5] net: ti: icss-iep: fix device and OF node leaks " Johan Hovold
@ 2025-07-31 1:10 ` patchwork-bot+netdevbpf
5 siblings, 0 replies; 12+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-07-31 1:10 UTC (permalink / raw)
To: Johan Hovold
Cc: andrew+netdev, davem, edumazet, kuba, pabeni, madalin.bucur,
claudiu.manoil, vladimir.oltean, wei.fang, xiaoning.wang, nbd,
sean.wang, lorenzo, matthias.bgg, angelogioacchino.delregno,
danishanwar, rogerq, richardcochran, netdev, linux-kernel
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 25 Jul 2025 19:12:08 +0200 you wrote:
> This series fixes devices leaks stemming from failure to drop the
> reference taken by of_find_device_by_node().
>
> Johan
>
>
> Johan Hovold (5):
> net: dpaa: fix device leak when querying time stamp info
> net: enetc: fix device and OF node leak at probe
> net: gianfar: fix device leak when querying time stamp info
> net: mtk_eth_soc: fix device leak at probe
> net: ti: icss-iep: fix device and OF node leaks at probe
>
> [...]
Here is the summary with links:
- [1/5] net: dpaa: fix device leak when querying time stamp info
https://git.kernel.org/netdev/net/c/3fa840230f53
- [2/5] net: enetc: fix device and OF node leak at probe
https://git.kernel.org/netdev/net/c/70458f8a6b44
- [3/5] net: gianfar: fix device leak when querying time stamp info
https://git.kernel.org/netdev/net/c/da717540acd3
- [4/5] net: mtk_eth_soc: fix device leak at probe
https://git.kernel.org/netdev/net/c/3e13274ca875
- [5/5] net: ti: icss-iep: fix device and OF node leaks at probe
https://git.kernel.org/netdev/net/c/e05c54974a05
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2025-07-31 1:09 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-25 17:12 [PATCH 0/5] net: ethernet: fix device leaks Johan Hovold
2025-07-25 17:12 ` [PATCH 1/5] net: dpaa: fix device leak when querying time stamp info Johan Hovold
2025-07-26 20:48 ` Simon Horman
2025-07-25 17:12 ` [PATCH 2/5] net: enetc: fix device and OF node leak at probe Johan Hovold
2025-07-26 20:49 ` Simon Horman
2025-07-25 17:12 ` [PATCH 3/5] net: gianfar: fix device leak when querying time stamp info Johan Hovold
2025-07-26 20:49 ` Simon Horman
2025-07-25 17:12 ` [PATCH 4/5] net: mtk_eth_soc: fix device leak at probe Johan Hovold
2025-07-26 20:49 ` Simon Horman
2025-07-25 17:12 ` [PATCH 5/5] net: ti: icss-iep: fix device and OF node leaks " Johan Hovold
2025-07-26 20:50 ` Simon Horman
2025-07-31 1:10 ` [PATCH 0/5] net: ethernet: fix device leaks patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).