Netdev Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH net] net/sched: The error lable position is corrected in ct_init_module
@ 2020-07-30  8:14 Liu Jian
  2020-07-31 23:36 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Jian @ 2020-07-30  8:14 UTC (permalink / raw)
  To: jhs, xiyou.wangcong, jiri, davem, kuba, paulb, netdev

From: liujian <liujian56@huawei.com>

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>
---
 net/sched/act_ct.c | 4 ++--
 1 file 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;
 }
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH net] net/sched: The error lable position is corrected in ct_init_module
  2020-07-30  8:14 [PATCH net] net/sched: The error lable position is corrected in ct_init_module Liu Jian
@ 2020-07-31 23:36 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-07-31 23:36 UTC (permalink / raw)
  To: liujian56; +Cc: jhs, xiyou.wangcong, jiri, kuba, paulb, netdev

From: Liu Jian <liujian56@huawei.com>
Date: Thu, 30 Jul 2020 16:14:28 +0800

> From: liujian <liujian56@huawei.com>
> 
> 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>

Applied, thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30  8:14 [PATCH net] net/sched: The error lable position is corrected in ct_init_module Liu Jian
2020-07-31 23:36 ` David Miller

Netdev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/netdev/0 netdev/git/0.git
	git clone --mirror https://lore.kernel.org/netdev/1 netdev/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netdev netdev/ https://lore.kernel.org/netdev \
		netdev@vger.kernel.org
	public-inbox-index netdev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.netdev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git