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-prev] [day] [month] [year] [list]
Date:   Fri, 21 Oct 2022 05:10:20 +0000
To:     Yang Yingliang <>
Subject: Re: [PATCH net] net: netsec: fix error handling in netsec_register_mdio()


This patch was applied to netdev/net.git (master)
by Jakub Kicinski <>:

On Wed, 19 Oct 2022 14:41:04 +0800 you wrote:
> If phy_device_register() fails, phy_device_free() need be called to
> put refcount, so memory of phy device and device name can be freed
> in callback function.
> If get_phy_device() fails, mdiobus_unregister() need be called,
> or it will cause warning in mdiobus_free() and kobject is leaked.
> [...]

Here is the summary with links:
  - [net] net: netsec: fix error handling in netsec_register_mdio()

You are awesome, thank you!
Deet-doot-dot, I am a bot.

Powered by blists - more mailing lists