diff mbox series

[SRU,F:linux-bluefield,v2,1/5] Revert "UBUNTU: SAUCE: net/sched: Add module parameter to set CT age out time"

Message ID 1625670778-30586-2-git-send-email-bodong@nvidia.com
State New
Headers show
Series Control nf flow table timeouts | expand

Commit Message

Bodong Wang July 7, 2021, 3:12 p.m. UTC
From: Oz Shlomo <ozsh@nvidia.com>

BugLink: https://launchpad.net/bugs/1934401

This reverts commit 23c8b288f8d10a488c27aee27331b9915dd41cda.

Replaced with upstream series:
https://lore.kernel.org/netdev/20210609214523.1678-1-pablo@netfilter.org/

Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Signed-off-by: Bodong Wang <bodong@nvidia.com>
---
 net/sched/act_ct.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/net/sched/act_ct.c b/net/sched/act_ct.c
index 43c5b3f..a3333b1 100644
--- a/net/sched/act_ct.c
+++ b/net/sched/act_ct.c
@@ -33,10 +33,6 @@ 
 #include <net/netfilter/ipv6/nf_defrag_ipv6.h>
 #include <uapi/linux/netfilter/nf_nat.h>
 
-static uint offload_timeout = 30;
-module_param(offload_timeout, uint, 0644);
-MODULE_PARM_DESC(offload_timeout, "Flow offload timeout in seconds");
-
 static struct workqueue_struct *act_ct_wq;
 static struct rhashtable zones_ht;
 static DEFINE_MUTEX(zones_mutex);
@@ -298,7 +294,6 @@  static int tcf_ct_flow_table_get(struct tcf_ct_params *params)
 
 	ct_ft->nf_ft.type = &flowtable_ct;
 	ct_ft->nf_ft.flags |= NF_FLOWTABLE_HW_OFFLOAD;
-	ct_ft->nf_ft.flow_timeout = offload_timeout;
 	err = nf_flow_table_init(&ct_ft->nf_ft);
 	if (err)
 		goto err_init;