net: ovs: use kfree_rcu instead of rcu_free_{sw_flow_mask_cb,acts_callback}
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 10 Dec 2013 11:02:03 +0000 (12:02 +0100)
committerJesse Gross <jesse@nicira.com>
Mon, 6 Jan 2014 23:52:30 +0000 (15:52 -0800)
commit11d6c461b32a3fb7e89f91ef7fa54c5446335a9c
treeec54a0d617eaa9f1bdc81acb7349b4999b43bd5a
parente298e505700604c97e6a9edb21cebb080bdb91f6
net: ovs: use kfree_rcu instead of rcu_free_{sw_flow_mask_cb,acts_callback}

As we're only doing a kfree() anyway in the RCU callback, we can
simply use kfree_rcu, which does the same job, and remove the
function rcu_free_sw_flow_mask_cb() and rcu_free_acts_callback().

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/flow_netlink.c
net/openvswitch/flow_table.c