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
commit71ac7acb7c027616459dfd0c4ee122a5454da676 (patch)
tree51cc80dfe4d86c9d1bc3b7c5533f4200f2fe5699 /target/linux/generic-2.6
parent4826a4becbb72d8c5000e62aab56f72c3a80f205 (diff)
downloadupstream-71ac7acb7c027616459dfd0c4ee122a5454da676.tar.gz
upstream-71ac7acb7c027616459dfd0c4ee122a5454da676.tar.bz2
upstream-71ac7acb7c027616459dfd0c4ee122a5454da676.zip
fix compile error in the netfilter ipset module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7318 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;