mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
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: c34b961a24
("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>
This commit is contained in:
parent
d0c3c75d5d
commit
8c5c51f5ca
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue