删除 'patches/010-fix-kernel-6.1.patch'
This commit is contained in:
parent
e4eab3c1ff
commit
c75575d837
@ -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)
|
|
Loading…
x
Reference in New Issue
Block a user