Skip to content
Snippets Groups Projects
Commit 8c5c51f5 authored by liujian's avatar liujian Committed by David S. Miller
Browse files

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: c34b961a ("net/sched: act_ct: Create nf flow table per zone")
Signed-off-by: default avatarliujian <liujian56@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d0c3c75d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment