netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: phy: fix locking issue
@ 2019-02-13 19:10 Heiner Kallweit
  2019-02-13 19:11 ` [PATCH net 1/2] net: phy: don't use locking in phy_is_started Heiner Kallweit
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Heiner Kallweit @ 2019-02-13 19:10 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, David Miller
  Cc: Russell King - ARM Linux, netdev@vger.kernel.org

Russell pointed out that the locking used in phy_is_started() isn't
needed and misleading. This locking also contributes to a race fixed
with patch 2.

Heiner Kallweit (2):
  net: phy: don't use locking in phy_is_started
  net: phy: fix potential race in the phylib state machine

 drivers/net/phy/phy.c | 13 +++++++------
 include/linux/phy.h   | 15 +--------------
 2 files changed, 8 insertions(+), 20 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-02-14 17:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-13 19:10 [PATCH net 0/2] net: phy: fix locking issue Heiner Kallweit
2019-02-13 19:11 ` [PATCH net 1/2] net: phy: don't use locking in phy_is_started Heiner Kallweit
2019-02-14  4:13   ` Florian Fainelli
2019-02-13 19:12 ` [PATCH net 2/2] net: phy: fix potential race in the phylib state machine Heiner Kallweit
2019-02-14  4:13   ` Florian Fainelli
2019-02-14 17:05 ` [PATCH net 0/2] net: phy: fix locking issue David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).