Make L7-filter compile with kernel 2.6.27 (#4253)
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.27 / 130-netfilter_ipset.patch
index fec3e3d..b2a78d4 100644 (file)
@@ -1,3 +1,20 @@
+--- a/include/linux/netfilter_ipv4/Kbuild
++++ b/include/linux/netfilter_ipv4/Kbuild
+@@ -45,3 +45,14 @@
+
+ unifdef-y += ip_queue.h
+ unifdef-y += ip_tables.h
++
++unifdef-y += ip_set.h
++header-y  += ip_set_iphash.h
++header-y  += ip_set_ipmap.h
++header-y  += ip_set_ipporthash.h
++unifdef-y += ip_set_iptree.h
++unifdef-y += ip_set_iptreemap.h
++header-y  += ip_set_jhash.h
++header-y  += ip_set_macipmap.h
++unifdef-y += ip_set_nethash.h
++header-y  += ip_set_portmap.h
 --- /dev/null
 +++ b/include/linux/netfilter_ipv4/ip_set.h
 @@ -0,0 +1,498 @@
 +#include <linux/jhash.h>
 +#include <linux/netfilter_ipv4/ip_tables.h>
 +#include <linux/errno.h>
++#include <linux/semaphore.h>
 +#include <asm/uaccess.h>
 +#include <asm/bitops.h>
-+#include <asm/semaphore.h>
 +#include <linux/spinlock.h>
 +#include <linux/vmalloc.h>
 +
This page took 0.019427 seconds and 4 git commands to generate.