]> asedeno.scripts.mit.edu Git - linux.git/commit
net: sched: using kfree_rcu() to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 16 Feb 2019 08:19:55 +0000 (08:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2019 00:34:51 +0000 (16:34 -0800)
commit6e07902f56fae81036ebc5a0b61d5ffdd739e4bc
treeca6e180f89295fcf044b6050435dcb023ff25ec8
parent780feae7eb69388c8d8b661cda6706b0dc0f642b
net: sched: using kfree_rcu() to simplify the code

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: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c