[PATCH net-next v3] wireguard: allowedips: Use kfree_rcu() instead of call_rcu()
Simon Horman
horms at kernel.org
Wed Jan 14 15:41:14 UTC 2026
On Mon, Jan 12, 2026 at 09:06:33PM +0800, Fushuai Wang wrote:
> From: Fushuai Wang <wangfushuai at baidu.com>
>
> 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>
Thanks,
I believe this address prior review and moreover I agree
with the approach taken here.
Reviewed-by: Simon Horman <horms at kernel.org>
...
More information about the WireGuard
mailing list