From: liujian Date: Thu, 30 Jul 2020 08:14:28 +0000 (+0800) Subject: net/sched: The error lable position is corrected in ct_init_module X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8c5c51f5cac676e9065cb6de9feaa3a16a462675;p=linux.git net/sched: The error lable position is corrected in ct_init_module Exchange the positions of the err_tbl_init and err_register labels in ct_init_module function. Fixes: c34b961a2492 ("net/sched: act_ct: Create nf flow table per zone") Signed-off-by: liujian Signed-off-by: David S. Miller --- diff --git a/net/sched/act_ct.c b/net/sched/act_ct.c index 5928efb6449c3..6ed1652d1e265 100644 --- a/net/sched/act_ct.c +++ b/net/sched/act_ct.c @@ -1543,10 +1543,10 @@ static int __init ct_init_module(void) return 0; -err_tbl_init: - destroy_workqueue(act_ct_wq); err_register: tcf_ct_flow_tables_uninit(); +err_tbl_init: + destroy_workqueue(act_ct_wq); return err; }