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]
Message-Id: <20180227.143308.296328321666822612.davem@davemloft.net>
Date:   Tue, 27 Feb 2018 14:33:08 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     andrew@...n.ch
Cc:     hkallweit1@...il.com, f.fainelli@...il.com, netdev@...r.kernel.org,
        linyunsheng@...wei.com
Subject: Re: [PATCH v2 net] net: phy: Restore phy_resume() locking
 assumption

From: Andrew Lunn <andrew@...n.ch>
Date: Tue, 27 Feb 2018 01:56:06 +0100

> commit f5e64032a799 ("net: phy: fix resume handling") changes the
> locking semantics for phy_resume() such that the caller now needs to
> hold the phy mutex. Not all call sites were adopted to this new
> semantic, resulting in warnings from the added
> WARN_ON(!mutex_is_locked(&phydev->lock)).  Rather than change the
> semantics, add a __phy_resume() and restore the old behavior of
> phy_resume().
> 
> Reported-by: Heiner Kallweit <hkallweit1@...il.com>
> Fixes: f5e64032a799 ("net: phy: fix resume handling")
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
> ---
> v2: Fix type in phy_resume() calling itself

Applied and queued up for -stable, thanks Andrew.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ