diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-12-16 00:08:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-17 06:22:22 +0300 |
commit | d89ee7d5c73af15c1c6f12b016cdf469742b5726 (patch) | |
tree | 3aac280c9396bf35e2d579f4651e23b8ea7efae5 /drivers/net/wireguard/timers.c | |
parent | 43967b6ff91e53bcce5ae08c16a0588a475b53a1 (diff) | |
download | linux-d89ee7d5c73af15c1c6f12b016cdf469742b5726.tar.xz |
wireguard: allowedips: use kfree_rcu() instead of call_rcu()
The callback function of call_rcu() just calls a kfree(), so we
can use kfree_rcu() instead of call_rcu() + callback function.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireguard/timers.c')
0 files changed, 0 insertions, 0 deletions