diff options
Diffstat (limited to 'net/sched/cls_api.c')
-rw-r--r-- | net/sched/cls_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index 963e4bf0aab8..a4a5ace834c3 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c | |||
@@ -103,9 +103,10 @@ int unregister_tcf_proto_ops(struct tcf_proto_ops *ops) | |||
103 | } | 103 | } |
104 | EXPORT_SYMBOL(unregister_tcf_proto_ops); | 104 | EXPORT_SYMBOL(unregister_tcf_proto_ops); |
105 | 105 | ||
106 | bool tcf_queue_work(struct work_struct *work) | 106 | bool tcf_queue_work(struct rcu_work *rwork, work_func_t func) |
107 | { | 107 | { |
108 | return queue_work(tc_filter_wq, work); | 108 | INIT_RCU_WORK(rwork, func); |
109 | return queue_rcu_work(tc_filter_wq, rwork); | ||
109 | } | 110 | } |
110 | EXPORT_SYMBOL(tcf_queue_work); | 111 | EXPORT_SYMBOL(tcf_queue_work); |
111 | 112 | ||