aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-23 21:40:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-23 21:40:19 +0000
commit68adfabefb131bf3edc91a0e1bf59ab0cc165d27 (patch)
tree99c5e9b1331e9f83ce2800175679164f9f54681c /target/linux/generic-2.6
parent2555097cc691246108bc11115763d3b1c2cc4897 (diff)
downloadupstream-68adfabefb131bf3edc91a0e1bf59ab0cc165d27.tar.gz
upstream-68adfabefb131bf3edc91a0e1bf59ab0cc165d27.tar.bz2
upstream-68adfabefb131bf3edc91a0e1bf59ab0cc165d27.zip
fix compile error in the netfilter ipset module
SVN-Revision: 7318
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r--target/linux/generic-2.6/patches/013-ipset_compile_fix.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches/013-ipset_compile_fix.patch b/target/linux/generic-2.6/patches/013-ipset_compile_fix.patch
new file mode 100644
index 0000000000..80cbe0c718
--- /dev/null
+++ b/target/linux/generic-2.6/patches/013-ipset_compile_fix.patch
@@ -0,0 +1,10 @@
+--- linux.old/include/linux/netfilter_ipv4/ip_set_malloc.h 2007-05-23 23:34:49.100660208 +0200
++++ linux.dev/include/linux/netfilter_ipv4/ip_set_malloc.h 2007-05-23 23:36:36.528328720 +0200
+@@ -2,6 +2,7 @@
+ #define _IP_SET_MALLOC_H
+
+ #ifdef __KERNEL__
++#include <asm/pgtable.h>
+
+ /* Memory allocation and deallocation */
+ static size_t max_malloc_size = 0;