aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.3/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
commit3349cf269125525480485ee40bf30d7f0c8ae17a (patch)
tree92af28bbc824a84906875961c205c1783fa48623 /target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch
parent60db046ef28501513c3a58e3b23a070fa0b9bcc4 (diff)
downloadupstream-3349cf269125525480485ee40bf30d7f0c8ae17a.tar.gz
upstream-3349cf269125525480485ee40bf30d7f0c8ae17a.tar.bz2
upstream-3349cf269125525480485ee40bf30d7f0c8ae17a.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> SVN-Revision: 31566
Diffstat (limited to 'target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch')
-rw-r--r--target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch b/target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch
index fe74ae7f51..f3055590ab 100644
--- a/target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch
+++ b/target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch
@@ -2130,3 +2130,13 @@
+};
+
+#endif /* _XT_LAYER7_H */
+--- a/include/linux/netfilter/Kbuild
++++ b/include/linux/netfilter/Kbuild
+@@ -49,6 +49,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