diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-12-15 22:08:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-16 19:22:22 -0800 |
commit | 4340ee1dafe3334901590ec73536c8d622af427c (patch) | |
tree | 99500f642371cde1bf5a7dfe04ff4280c8efa745 /drivers/net/wireguard/send.c | |
parent | 22a0b15195cef1f17208d1c9165a6153ff4b3b63 (diff) | |
download | wireguard-linux-trimmed-4340ee1dafe3334901590ec73536c8d622af427c.tar.gz wireguard-linux-trimmed-4340ee1dafe3334901590ec73536c8d622af427c.zip |
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/send.c')
0 files changed, 0 insertions, 0 deletions