On Tue, Mar 18, 2025 at 12:17:11PM +0100, Hannes Reinecke wrote: > > + tls_req = kmalloc(sizeof(*tls_req), GFP_KERNEL); > > + if (!tls_req) > > + return -ENOMEM; > > This cries out for kmem_cache_alloc() ... Okay, will switch to this API. FWIW, in the same call path there are more kmallocs.