Skip to content

net: phy: fix locking issue

Heiner Kallweit netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: phy: don't use locking in phy_is_starteddrivers/net/phy/phy.c include/linux/phy.h+6 -201 reply
2/2net: phy: fix potential race in the phylib state machinedrivers/net/phy/phy.c+2 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFlorian Fainelli
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/2] net: phy: fix locking issue

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(-)
Signature · 1 line
2.20.1