summaryrefslogtreecommitdiff
path: root/scripts/package-build
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2025-09-06 12:24:19 +0300
committerGitHub <noreply@github.com>2025-09-06 12:24:19 +0300
commitc6d3547904cfac1bcedb16754db0dd9b86bcee51 (patch)
tree32e4193767deedf46a43fe6bd3e9a0c13896e643 /scripts/package-build
parentdc1bc10e3ae5c83ce33479a5463b176def0de1e9 (diff)
parent76abe84d6e02f01f90686f2e48e466e294418d95 (diff)
downloadvyos-build-c6d3547904cfac1bcedb16754db0dd9b86bcee51.tar.gz
vyos-build-c6d3547904cfac1bcedb16754db0dd9b86bcee51.zip
Merge pull request #1023 from hedrok/T75-ipt-netflow-aggregation-mode
T75: ipt-netflow fix aggregation mode
Diffstat (limited to 'scripts/package-build')
-rw-r--r--scripts/package-build/linux-kernel/patches/ipt-netflow/0004-Change-aggregation-parameter-mode-400-444.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/package-build/linux-kernel/patches/ipt-netflow/0004-Change-aggregation-parameter-mode-400-444.patch b/scripts/package-build/linux-kernel/patches/ipt-netflow/0004-Change-aggregation-parameter-mode-400-444.patch
new file mode 100644
index 00000000..6ace668e
--- /dev/null
+++ b/scripts/package-build/linux-kernel/patches/ipt-netflow/0004-Change-aggregation-parameter-mode-400-444.patch
@@ -0,0 +1,25 @@
+From 3f45658e9a2b8642e1c43f4adc22e107ea6eb235 Mon Sep 17 00:00:00 2001
+From: Kyrylo Yatsenko <hedrok@gmail.com>
+Date: Tue, 2 Sep 2025 10:29:04 +0300
+Subject: [PATCH] Change 'aggregation' parameter mode 400->444
+
+---
+ ipt_NETFLOW.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ipt_NETFLOW.c b/ipt_NETFLOW.c
+index eee8074..721353d 100644
+--- a/ipt_NETFLOW.c
++++ b/ipt_NETFLOW.c
+@@ -229,7 +229,7 @@ MODULE_PARM_DESC(engine_id, "Observation Domain ID");
+ #define AGGR_SIZE 1024
+ static char aggregation_buf[AGGR_SIZE] = "";
+ static char *aggregation = aggregation_buf;
+-module_param(aggregation, charp, 0400);
++module_param(aggregation, charp, 0444);
+ MODULE_PARM_DESC(aggregation, "aggregation ruleset");
+ static LIST_HEAD(aggr_n_list);
+ static LIST_HEAD(aggr_p_list);
+--
+2.50.1
+