summarylogtreecommitdiffstats
path: root/kernel_3.7_fix.patch
diff options
context:
space:
mode:
authorGimmeapill2015-06-24 22:19:14 +0200
committerGimmeapill2015-06-24 22:19:14 +0200
commit6c2baf26186091f384d37864d53e11620558a8f7 (patch)
tree2f1a5bca1c3daa67f43ac9b1a158fbfbae942c73 /kernel_3.7_fix.patch
downloadaur-6c2baf26186091f384d37864d53e11620558a8f7.tar.gz
Initial import
Diffstat (limited to 'kernel_3.7_fix.patch')
-rw-r--r--kernel_3.7_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel_3.7_fix.patch b/kernel_3.7_fix.patch
new file mode 100644
index 000000000000..3db3b600b78a
--- /dev/null
+++ b/kernel_3.7_fix.patch
@@ -0,0 +1,12 @@
+--- device.c.orig 2013-02-03 12:07:06.165824608 +0100
++++ device.c 2013-02-03 12:07:45.498944856 +0100
+@@ -2399,7 +2399,9 @@
+ nl_sk = netlink_kernel_create(
+ &init_net,
+ unit,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
+ THIS_MODULE,
++#endif
+ NULL);
+ #else
+ nl_sk = netlink_kernel_create(