summarylogtreecommitdiffstats
path: root/0001-fix-build-error-on-linux-6.1.patch
diff options
context:
space:
mode:
authorlilac2023-01-02 04:33:05 +0800
committerlilac2023-01-02 04:33:05 +0800
commit4a8d51a274668a0ad5db9382f169126993062bb7 (patch)
tree01d6a49cbef9d0aa3bfb9042711fb629c1adb1a2 /0001-fix-build-error-on-linux-6.1.patch
parentd0dbcae45072fa850e2c11c05f3fabf4173c0027 (diff)
downloadaur-4a8d51a274668a0ad5db9382f169126993062bb7.tar.gz
[lilac] updated to r88.74c5e6f-1
Diffstat (limited to '0001-fix-build-error-on-linux-6.1.patch')
-rw-r--r--0001-fix-build-error-on-linux-6.1.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/0001-fix-build-error-on-linux-6.1.patch b/0001-fix-build-error-on-linux-6.1.patch
deleted file mode 100644
index a576c452a3f5..000000000000
--- a/0001-fix-build-error-on-linux-6.1.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 0f213788aff74b0ae55a8689ea3ee18be64e798e Mon Sep 17 00:00:00 2001
-From: edward-p <edward@edward-p.xyz>
-Date: Mon, 12 Dec 2022 16:57:00 +0800
-Subject: [PATCH] fix build error on linux-6.1
-
----
- xt_FULLCONENAT.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/xt_FULLCONENAT.c b/xt_FULLCONENAT.c
-index f96cfd8..4f6e24b 100644
---- a/xt_FULLCONENAT.c
-+++ b/xt_FULLCONENAT.c
-@@ -325,7 +325,7 @@ static uint16_t find_appropriate_port6(struct net *net, const u16 zone, const ui
- /* for now we do the same thing for both --random and --random-fully */
-
- /* select a random starting point */
-- start = (uint16_t)(prandom_u32() % (u32)range_size);
-+ start = (uint16_t)(get_random_u32() % (u32)range_size);
- } else {
-
- if ((original_port >= min && original_port <= min + range_size - 1)
-@@ -995,7 +995,7 @@ static uint16_t find_appropriate_port(struct net *net, const u16 zone, const uin
- /* for now we do the same thing for both --random and --random-fully */
-
- /* select a random starting point */
-- start = (uint16_t)(prandom_u32() % (u32)range_size);
-+ start = (uint16_t)(get_random_u32() % (u32)range_size);
- } else {
-
- if ((original_port >= min && original_port <= min + range_size - 1)
---
-2.38.1
-