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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140724.181044.1195125881203135720.davem@davemloft.net>
Date:	Thu, 24 Jul 2014 18:10:44 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	ezequiel.garcia@...e-electrons.com
Cc:	netdev@...r.kernel.org, f.fainelli@...il.com,
	thomas.petazzoni@...e-electrons.com,
	gregory.clement@...e-electrons.com
Subject: Re: [PATCH v2 0/2] net: phy: Prevent an MDIO bus from being
 unloaded while in use

From: Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>
Date: Wed, 23 Jul 2014 16:47:30 -0300

> Changes from v1:
>   * Dropped the unneeded module_put() on phy_attach_direct().
> 
> The motivation of this small series is to fix the current lack of relationship
> between an ethernet driver and the MDIO bus behind the PHY device. In such
> cases, we would find no visible link between the drivers:
 ...
> Which means nothing prevents the MDIO driver from being removed:
 ...
> This patchset fixes this problem by adding a pair of module_{get,put},
> so the module reference count is increased when the PHY device is attached
> and is decreased when the PHY is detached.
> 
> Tested with mvneta and mv643xx_eth drivers, which depend on the mvmdio
> driver to handle MDIO. This series applies on both net and net-next branches.

Series 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