RE: [PATCH] r8152: fix lockup when runtime PM is enabled

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

 



Peter Wu [mailto:peter@xxxxxxxxxxxxx]
> Sent: Tuesday, December 08, 2015 12:59 AM
[...]
> +			if (tp->netdev->flags & IFF_UP) {

Maybe you could just replace the checking of netif_running(tp->netdev) with this.

Excuse me. I have a question. Before the open() is finished, the netif_running() would
be true, but the IFF_UP wouldn't be set. Is it right?

Best Regards,
Hayes

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