Re: [PATCH] net: usb: asix: replace mii_nway_restart in resume path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Alexander Couzens <lynxis@xxxxxxx>
Date: Tue, 17 Jul 2018 13:17:09 +0200

> 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@xxxxxxx>

Applied and queued up for -stable, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux