diff options
author | liujian <liujian56@huawei.com> | 2020-07-30 16:14:28 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-31 16:35:39 -0700 |
commit | 8c5c51f5cac676e9065cb6de9feaa3a16a462675 (patch) | |
tree | b26941890ccb5884ddda04d37e26b64f0ae62e50 | |
parent | d0c3c75d5d8911b0e92e48ce79b827ad869d5c93 (diff) | |
download | linux-8c5c51f5cac676e9065cb6de9feaa3a16a462675.tar.bz2 |
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 <liujian56@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/sched/act_ct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/act_ct.c b/net/sched/act_ct.c index 5928efb6449c..6ed1652d1e26 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; } |