Skip to content

Commit

Permalink
net/sched: The error lable position is corrected in ct_init_module
Browse files Browse the repository at this point in the history
Exchange the positions of the err_tbl_init and err_register labels in
ct_init_module function.

Fixes: c34b961 ("net/sched: act_ct: Create nf flow table per zone")
Signed-off-by: liujian <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
liujian56 authored and davem330 committed Jul 31, 2020
1 parent d0c3c75 commit 8c5c51f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/sched/act_ct.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8c5c51f

Please sign in to comment.