commit 0626ad1b2ddc8fe1beaca817665e7e8363582d06
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Aug 3 17:19:28 2017 +0200
Add ndiswrapper-kmod-rhel6.patch
ndiswrapper-kmod-rhel6.patch | 13 +++++++++++++
1 file changed, 13 insertions(+)
---
diff --git a/ndiswrapper-kmod-rhel6.patch b/ndiswrapper-kmod-rhel6.patch
new file mode 100644
index 0000000..ca5537d
--- /dev/null
+++ b/ndiswrapper-kmod-rhel6.patch
@@ -0,0 +1,13 @@
+diff -up ndiswrapper-1.61/driver/proc.c.rhel6 ndiswrapper-1.61/driver/proc.c
+--- ndiswrapper-1.61/driver/proc.c.rhel6 2016-10-09 17:45:08.000000000 +0200
++++ ndiswrapper-1.61/driver/proc.c 2017-08-03 17:11:04.969390144 +0200
+@@ -60,7 +60,9 @@ static inline void proc_remove(struct pr
+ if (de)
+ remove_proc_entry(de->name, de->parent);
+ }
++#endif
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
+ static inline void *PDE_DATA(const struct inode *inode)
+ {
+ return PDE(inode)->data;