From c75575d83799e41f8f339043fa05f19ef626e72e Mon Sep 17 00:00:00 2001 From: Bard L <984419930@qq.com> Date: Fri, 28 Apr 2023 05:06:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20'patches/010-fix-kernel-6.?= =?UTF-8?q?1.patch'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patches/010-fix-kernel-6.1.patch | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 patches/010-fix-kernel-6.1.patch diff --git a/patches/010-fix-kernel-6.1.patch b/patches/010-fix-kernel-6.1.patch deleted file mode 100644 index 9612989..0000000 --- a/patches/010-fix-kernel-6.1.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/nf_nat_fullcone.c -+++ b/nf_nat_fullcone.c -@@ -854,7 +854,7 @@ static uint16_t find_appropriate_port6(struct net *net, const u16 zone, - /* 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) -@@ -927,7 +927,7 @@ static uint16_t find_appropriate_port(struct net *net, const u16 zone, - /* 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)