[SRU][F:linux-bluefield][PATCH v2 1/5] Revert "UBUNTU: SAUCE: net/sched: Add module parameter to set CT age out time"
Bodong Wang
bodong at nvidia.com
Wed Jul 7 15:12:54 UTC 2021
From: Oz Shlomo <ozsh at 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 at nvidia.com>
Signed-off-by: Bodong Wang <bodong at nvidia.com>
---
net/sched/act_ct.c | 5 -----
1 file changed, 5 deletions(-)
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;
--
1.8.3.1
More information about the kernel-team
mailing list