Skip to content

Commit 8c5c51f

Browse files
liujian56davem330
authored andcommitted
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: 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]>
1 parent d0c3c75 commit 8c5c51f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/sched/act_ct.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,10 +1543,10 @@ static int __init ct_init_module(void)
15431543

15441544
return 0;
15451545

1546-
err_tbl_init:
1547-
destroy_workqueue(act_ct_wq);
15481546
err_register:
15491547
tcf_ct_flow_tables_uninit();
1548+
err_tbl_init:
1549+
destroy_workqueue(act_ct_wq);
15501550
return err;
15511551
}
15521552

0 commit comments

Comments
 (0)