commit | d89ee7d5c73af15c1c6f12b016cdf469742b5726 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Sun Dec 15 22:08:04 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 16 19:22:22 2019 -0800 |
tree | 3aac280c9396bf35e2d579f4651e23b8ea7efae5 | |
parent | 43967b6ff91e53bcce5ae08c16a0588a475b53a1 [diff] |
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>