On 12/8/21 14:31, Mikhail wrote:
On Wed, Dec 08, 2021 at 02:10:49PM +0100, Gerhard Roth wrote:Well, there's only one watchdog thread for all of the network interfaces. If it is blocked, not other watchdogs can run.I don't think this is a big loss. On one side - no other watchdogs can run for 5 secs, but on other side - watchdog can potentially recover the network service with automatic reset of urndis device and return network connectivity. Isn't it a fair trade of?
Well, the RNDIS device doesn't respond to REMOTE_NDIS_KEEPALIVE_MSG messages anymore, but now you hope that it'll still process the REMOTE_NDIS_RESET_MSG we are sending? Sounds like wishful thinking. I'd say a usbd_reset_port() might be more effective. BTW: I was wrong about the 5 seconds. In fact its 10 seconds since the same timeout applies to the reset message.
smime.p7s
Description: S/MIME cryptographic signature
