Re: [PATCH] ath9k: rng: escape sleep loop when unregistering
From: Jason A. Donenfeld
Date: Fri Jun 24 2022 - 15:13:37 EST
Hi Gregory,
On Thu, Jun 23, 2022 at 10:25:26PM -0700, Gregory Erwin wrote:
> Hi Jason,
>
> I think you are on the right track, but even with this patch
> 'ip link set wlan0 down' blocks until the hwrng reader gives up.
> The reader can either be userspace (dd, cat, etc) or it can also
> be the rng_core module. I can replicate the hang in the two different
> situations, so I gathered two stack traces for 'ip' depending on the
> reader of hwrng:
Thanks for the traces. I'll send a v2 to you shortly.
Jason