diff options
| author | Kyrylo Yatsenko <hedrok@gmail.com> | 2025-08-31 20:00:42 +0300 |
|---|---|---|
| committer | Kyrylo Yatsenko <hedrok@gmail.com> | 2025-09-02 11:30:54 +0300 |
| commit | 76abe84d6e02f01f90686f2e48e466e294418d95 (patch) | |
| tree | 531f5b57492549b7df37a0695e40787ee19db777 | |
| parent | 4fe55d8005f3f99937e7b2fdc4d17885a6f633e9 (diff) | |
| download | vyos-build-76abe84d6e02f01f90686f2e48e466e294418d95.tar.gz vyos-build-76abe84d6e02f01f90686f2e48e466e294418d95.zip | |
T75: ipt-netflow fix aggregation mode
* 0004-Change-aggregation-parameter-mode-400-444.patch:
Tests need to read 'aggregation' parameter. All other parameters have
modes 444 or 644. Change mode of 'aggregation' 400 -> 444
| -rw-r--r-- | scripts/package-build/linux-kernel/patches/ipt-netflow/0004-Change-aggregation-parameter-mode-400-444.patch | 25 |
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 + |
