Re: [PATCH] wireguard: allowedips: Use kfree_rcu() instead of call_rcu()

Fushuai Wang <[email protected]> Sun, 5 Oct 2025 21:30:31 +0800
Newsgroups com.zx2c4.lists.wireguard,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
>> Replace call_rcu() + kmem_cache_free() with kfree_rcu() to simplify
>> the code and reduce function size.
>>
>> Signed-off-by: Fushuai Wang <[email protected]>
> 
> Hmm... have you compiled this patch ?
> 
> I think  all compilers would complain loudly.

you are right.
I uploaded the wrong version of the patch. I will send the correct v2 shortly.

Thank you for pointing it out!

Regards,
Wang.