aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-10-02 16:49:46 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-02 17:21:26 -0700
commit134cc4cefad34d8d24670d8a911b59c3b89c6731 (patch)
tree62c042685081aea0bdede5f09818c4bd54e0a1f8 /scripts/gdb/linux/utils.py
parentnet: hisilicon: Fix usage of uninitialized variable in function mdio_sc_cfg_reg_write() (diff)
downloadwireguard-linux-134cc4cefad34d8d24670d8a911b59c3b89c6731.tar.xz
wireguard-linux-134cc4cefad34d8d24670d8a911b59c3b89c6731.zip
net: stmmac: Avoid deadlock on suspend/resume
The stmmac driver will try to acquire its private mutex during suspend via phylink_resolve() -> stmmac_mac_link_down() -> stmmac_eee_init(). However, the phylink configuration is updated with the private mutex held already, which causes a deadlock during suspend. Fix this by moving the phylink configuration updates out of the region of code protected by the private mutex. Fixes: 19e13cb27b99 ("net: stmmac: Hold rtnl lock in suspend/resume callbacks") Suggested-by: Bitan Biswas <bbiswas@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions