diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:42:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:42:58 +0000 |
commit | a082943b09f4f707990ad0ac6326df8480507f02 (patch) | |
tree | de32e4def600e56134cd085a7447cb6620542078 /target/linux/generic-2.6/patches-2.6.25/120-netfilter-headers-types.patch | |
parent | 67fbcc7bd42cc07b1f3c6b5c9f2db37647178f25 (diff) | |
download | upstream-a082943b09f4f707990ad0ac6326df8480507f02.tar.gz upstream-a082943b09f4f707990ad0ac6326df8480507f02.tar.bz2 upstream-a082943b09f4f707990ad0ac6326df8480507f02.zip |
rename target/linux/generic-2.6 to generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.25/120-netfilter-headers-types.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.25/120-netfilter-headers-types.patch | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.25/120-netfilter-headers-types.patch b/target/linux/generic-2.6/patches-2.6.25/120-netfilter-headers-types.patch deleted file mode 100644 index 32251e37d7..0000000000 --- a/target/linux/generic-2.6/patches-2.6.25/120-netfilter-headers-types.patch +++ /dev/null @@ -1,80 +0,0 @@ -commit c8942f1f0a7e2160ebf2e51ba89e50ee5895a1e7 -Author: Patrick McHardy <kaber@trash.net> -Date: Wed May 21 14:08:38 2008 -0700 - - netfilter: Move linux/types.h inclusions outside of #ifdef __KERNEL__ - - Greg Steuck <greg@nest.cx> points out that some of the netfilter - headers can't be used in userspace without including linux/types.h - first. The headers include their own linux/types.h include statements, - these are stripped by make headers-install because they are inside - #ifdef __KERNEL__ however. Move them out to fix this. - - Reported and Tested by Greg Steuck. - - Signed-off-by: Patrick McHardy <kaber@trash.net> - Signed-off-by: David S. Miller <davem@davemloft.net> - ---- a/include/linux/netfilter.h -+++ b/include/linux/netfilter.h -@@ -3,7 +3,6 @@ - - #ifdef __KERNEL__ - #include <linux/init.h> --#include <linux/types.h> - #include <linux/skbuff.h> - #include <linux/net.h> - #include <linux/if.h> -@@ -12,6 +11,7 @@ - #include <linux/wait.h> - #include <linux/list.h> - #endif -+#include <linux/types.h> - #include <linux/compiler.h> - - /* Responses from hook functions. */ ---- a/include/linux/netfilter_arp/arp_tables.h -+++ b/include/linux/netfilter_arp/arp_tables.h -@@ -11,11 +11,11 @@ - - #ifdef __KERNEL__ - #include <linux/if.h> --#include <linux/types.h> - #include <linux/in.h> - #include <linux/if_arp.h> - #include <linux/skbuff.h> - #endif -+#include <linux/types.h> - #include <linux/compiler.h> - #include <linux/netfilter_arp.h> - ---- a/include/linux/netfilter_ipv4/ip_tables.h -+++ b/include/linux/netfilter_ipv4/ip_tables.h -@@ -17,11 +17,11 @@ - - #ifdef __KERNEL__ - #include <linux/if.h> --#include <linux/types.h> - #include <linux/in.h> - #include <linux/ip.h> - #include <linux/skbuff.h> - #endif -+#include <linux/types.h> - #include <linux/compiler.h> - #include <linux/netfilter_ipv4.h> - ---- a/include/linux/netfilter_ipv6/ip6_tables.h -+++ b/include/linux/netfilter_ipv6/ip6_tables.h -@@ -17,11 +17,11 @@ - - #ifdef __KERNEL__ - #include <linux/if.h> --#include <linux/types.h> - #include <linux/in6.h> - #include <linux/ipv6.h> - #include <linux/skbuff.h> - #endif -+#include <linux/types.h> - #include <linux/compiler.h> - #include <linux/netfilter_ipv6.h> - |