summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/wireguard/qemu/init.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2019-12-15 22:08:04 +0100
committerMichael Bestas <mkbestas@lineageos.org>2020-12-31 19:40:40 +0200
commit01102e2bb39e64c75a4a3270803c7daefbf9c55b (patch)
tree9494f111b0de14c7fbcaf0159e49f27e15448ce3 /tools/testing/selftests/wireguard/qemu/init.c
parentc266c1dfc9283e4ad7f64552adc0561dbf8cd858 (diff)
UPSTREAM: 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> (cherry picked from commit d89ee7d5c73af15c1c6f12b016cdf469742b5726) Bug: 152722841 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I8a50d841105381849825c9cf0185dad55a33fc36
Diffstat (limited to 'tools/testing/selftests/wireguard/qemu/init.c')
0 files changed, 0 insertions, 0 deletions