openvswitch: Using kfree_rcu() to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 14 Nov 2017 06:27:12 +0000 (06:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 13:02:08 +0000 (22:02 +0900)
commit6dc14dc40a1d1dafd8491c349b5f3e15aabc4edb
tree35f12077fe9da376dc55d426756f74b10c3ad36a
parent06c2351fdebb38803f10ace19ed8daf9b9c91e12
openvswitch: 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>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/meter.c