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
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 Nov 2023 10:51:39 +0100
From: Jan Kiszka <>
To: "David S. Miller" <>,
 Eric Dumazet <>, Jakub Kicinski <>,
 Paolo Abeni <>, MD Danish Anwar <>
 "Lopes Ivo, Diogo Miguel (T CED IFD-PT)" <>,
 Nishanth Menon <>,
 "Su, Bao Cheng (RC-CN DF FA R&D)" <>
Subject: [PATCH net v2] net: ti: icssg-prueth: Add missing icss_iep_put to
 error path

From: Jan Kiszka <>

Analogously to prueth_remove.

Fixes: 186734c15886 ("net: ti: icssg-prueth: add packet timestamping and ptp support")
Fixes: 443a2367ba3c ("net: ti: icssg-prueth: am65x SR2.0 add 10M full duplex support")
Signed-off-by: Jan Kiszka <>

Changes in v2:
 - add proper tags

This was lost from the TI SDK version while ripping out SR1.0 support - 
which we are currently restoring for upstream.

 drivers/net/ethernet/ti/icssg/icssg_prueth.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/ethernet/ti/icssg/icssg_prueth.c b/drivers/net/ethernet/ti/icssg/icssg_prueth.c
index 6c4b64227ac8..d119b2bb8158 100644
--- a/drivers/net/ethernet/ti/icssg/icssg_prueth.c
+++ b/drivers/net/ethernet/ti/icssg/icssg_prueth.c
@@ -2206,6 +2206,9 @@ static int prueth_probe(struct platform_device *pdev)
 	if (prueth->pdata.quirk_10m_link_issue)
+	icss_iep_put(prueth->iep1);
+	icss_iep_put(prueth->iep0);
 		      (unsigned long)prueth->, msmc_ram_size);

Powered by blists - more mailing lists