Re: [PATCH net-next v3 3/4] crypto: caam: Unembed net_dev structure from qi

From: Jakub Kicinski
Date: Thu Jul 04 2024 - 13:19:05 EST


On Thu, 4 Jul 2024 09:15:29 -0700 Breno Leitao wrote:
> So, if alloc_netdev_dummy() fails, then the cpu current cpu will not be
> set in `clean_mask`, thus, free_caam_qi_pcpu_netdev() will not free it
> later.

Ah, sorry, I missed the clean mask, my eyes must have pattern matched
the loop as for_each_cpu().