summaryrefslogtreecommitdiff
path: root/include/linux/sched/task.h
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-07-17 14:17:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-25 12:25:10 +0300
commit78cdeb665fb1f4cdc8fdbb95c584f916ba11f0f1 (patch)
treed1ba8e751376b8279336860dc20848f424cbb6ca /include/linux/sched/task.h
parentbbf9b1a46420191fe147a3d83bdce71fe594fea3 (diff)
downloadlinux-78cdeb665fb1f4cdc8fdbb95c584f916ba11f0f1.tar.xz
net: usb: asix: replace mii_nway_restart in resume path
[ Upstream commit 5c968f48021a9b3faa61ac2543cfab32461c0e05 ] mii_nway_restart is not pm aware which results in a rtnl deadlock. Implement mii_nway_restart manual by setting BMCR_ANRESTART if BMCR_ANENABLE is set. To reproduce: * plug an asix based usb network interface * wait until the device enters PM (~5 sec) * `ip link set eth1 up` will never return Fixes: d9fe64e51114 ("net: asix: Add in_pm parameter") Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/sched/task.h')
0 files changed, 0 insertions, 0 deletions