commit 62e7a1e7758b0fc9a89f2abeca849ff0ce9bcf68
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Oct 14 18:22:28 2022 +0200
Add new patch
kernel-pseed.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/kernel-pseed.patch b/kernel-pseed.patch
new file mode 100644
index 0000000..993065f
--- /dev/null
+++ b/kernel-pseed.patch
@@ -0,0 +1,12 @@
+diff -up ndiswrapper-1.63/driver/ntoskernel.h.pseed2
ndiswrapper-1.63/driver/ntoskernel.h
+--- ndiswrapper-1.63/driver/ntoskernel.h.pseed2 2022-10-14 17:44:10.909112326 +0200
++++ ndiswrapper-1.63/driver/ntoskernel.h 2022-10-14 18:00:44.230096568 +0200
+@@ -373,6 +373,8 @@ static inline void reinit_completion(str
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
+ #define prandom_seed(seed) net_srandom(seed)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5,18,0)
++#define prandom_seed(seed) (seed)
+ #endif
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)