lists.openwall.net   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:	Wed, 30 Mar 2011 02:31:50 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	mkl@...gutronix.de
Cc:	Netdev@...r.kernel.org, kernel@...gutronix.de
Subject: Re: [PATCH] phylib: phy_attach_direct: phy_init_hw can fail, add
 cleanup

From: Marc Kleine-Budde <mkl@...gutronix.de>
Date: Tue, 29 Mar 2011 02:54:08 +0200

> The function phy_attach_direct attaches the phy and calls phy_init_hw.
> phy_init_hw can fail, but the phy is still marked as attached. Successive
> calls to phy_attach_direct will fail because the phy is busy.
 ...
> This patch adds phy_detach to clean up if phy_init_hw fails.
> 
> Signed-off-by: Marc Kleine-Budde <mkl@...gutronix.de>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ