aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-11-12 22:20:22 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2017-12-16 22:14:49 +0100
commit436fe56485f0027618602495df96796f66e51744 (patch)
treeed629438637eb87e5f5b39ceb71a19b6f4c433b9 /package/network
parent9572bae5b846f0f685f4f5d20bca6b5a7b856aa8 (diff)
downloadupstream-436fe56485f0027618602495df96796f66e51744.tar.gz
upstream-436fe56485f0027618602495df96796f66e51744.tar.bz2
upstream-436fe56485f0027618602495df96796f66e51744.zip
xtables-addons: fix compile with kernel 4.14
This fixes a compile problems seen with kernel 4.14. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch b/package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch
index 7599684bdb..a9fb796d09 100644
--- a/package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch
+++ b/package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch
@@ -1,5 +1,14 @@
--- a/extensions/LUA/xt_LUA_target.c
+++ b/extensions/LUA/xt_LUA_target.c
+@@ -19,7 +19,7 @@
+ #include <linux/kernel.h>
+ #include <linux/slab.h>
+ #include <linux/module.h>
+-#include <asm/uaccess.h>
++#include <linux/uaccess.h>
+ #include <net/ip.h>
+ #include <linux/netfilter/x_tables.h>
+ #include "xt_LUA.h"
@@ -64,10 +64,10 @@ uint32_t lua_state_refs[LUA_STATE_ARRAY
* XT_CONTINUE inside the *register_lua_packet_lib* function.
*/