summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorIvan T. Ivanov <iivanov@suse.de>2021-08-04 11:13:39 +0300
committerSasha Levin <sashal@kernel.org>2021-08-26 15:35:38 +0300
commit8849a8c7058e697d7fe5864b84a1bd58c58963bd (patch)
tree565fa25c1b1ad33bdeb4811b75fcf54d1614c097 /certs
parent735e613fa587bb18386f68724bf036dcdcfaff2c (diff)
downloadlinux-8849a8c7058e697d7fe5864b84a1bd58c58963bd.tar.xz
net: usb: lan78xx: don't modify phy_device state concurrently
[ Upstream commit 6b67d4d63edece1033972214704c04f36c5be89a ] Currently phy_device state could be left in inconsistent state shown by following alert message[1]. This is because phy_read_status could be called concurrently from lan78xx_delayedwork, phy_state_machine and __ethtool_get_link. Fix this by making sure that phy_device state is updated atomically. [1] lan78xx 1-1.1.1:1.0 eth0: No phy led trigger registered for speed(-1) Signed-off-by: Ivan T. Ivanov <iivanov@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions