aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.39/600-netfilter_layer7_2.22.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-03 09:43:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-03 09:43:10 +0000
commit7f4625bd8ca07fbbfeeb5540796466bbe6e6cbb3 (patch)
treea13d43697482a31003c24f232dcb3d174bd4bb43 /target/linux/generic/patches-2.6.39/600-netfilter_layer7_2.22.patch
parent59ba22536d502e4f2afdc22ba3e675da1360210e (diff)
downloadmaster-187ad058-7f4625bd8ca07fbbfeeb5540796466bbe6e6cbb3.tar.gz
master-187ad058-7f4625bd8ca07fbbfeeb5540796466bbe6e6cbb3.tar.bz2
master-187ad058-7f4625bd8ca07fbbfeeb5540796466bbe6e6cbb3.zip
Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions] Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.39/600-netfilter_layer7_2.22.patch')
-rw-r--r--target/linux/generic/patches-2.6.39/600-netfilter_layer7_2.22.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.39/600-netfilter_layer7_2.22.patch b/target/linux/generic/patches-2.6.39/600-netfilter_layer7_2.22.patch
index 87c2e1fc2e..4df080c3d0 100644
--- a/target/linux/generic/patches-2.6.39/600-netfilter_layer7_2.22.patch
+++ b/target/linux/generic/patches-2.6.39/600-netfilter_layer7_2.22.patch
@@ -2130,3 +2130,13 @@
+};
+
+#endif /* _XT_LAYER7_H */
+--- a/include/linux/netfilter/Kbuild
++++ b/include/linux/netfilter/Kbuild
+@@ -45,6 +45,7 @@ header-y += xt_hashlimit.h
+ header-y += xt_helper.h
+ header-y += xt_iprange.h
+ header-y += xt_ipvs.h
++header-y += xt_layer7.h
+ header-y += xt_length.h
+ header-y += xt_limit.h
+ header-y += xt_mac.h