summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_gre.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-02-27 01:56:06 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-27 14:32:09 -0500
commit9c2c2e62df3fa30fb13fbeb7512a4eede729383b (patch)
tree172262c56d18345b4e762f4361f75c5bcbadc483 /net/ipv4/ip_gre.c
parent1b22bcad7e397252ecc9a8c471334f70b46820fc (diff)
net: phy: Restore phy_resume() locking assumption
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@gmail.com> Fixes: f5e64032a799 ("net: phy: fix resume handling") Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
0 files changed, 0 insertions, 0 deletions