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

Fushuai Wang wangfushuai at baidu.com
Sun Oct 5 13:31:00 UTC 2025


>> Replace call_rcu() + kmem_cache_free() with kfree_rcu() to simplify
>> the code and reduce function size.
>>
>> Signed-off-by: Fushuai Wang <wangfushuai at baidu.com>
> 
> 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.


More information about the WireGuard mailing list