diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:42:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:42:18 +0000 |
commit | 95c5443b843c7875794c17aeba33213b71ba4dbb (patch) | |
tree | 0c25039640bb2607a15f2792558ea5b2b4c1a48d /target/linux/generic-2.4/patches/626-netfilter_conntrack_fix.patch | |
parent | c4f3caef75c247bcce4502391c072e10f741430a (diff) | |
download | master-31e0f0ae-95c5443b843c7875794c17aeba33213b71ba4dbb.tar.gz master-31e0f0ae-95c5443b843c7875794c17aeba33213b71ba4dbb.tar.bz2 master-31e0f0ae-95c5443b843c7875794c17aeba33213b71ba4dbb.zip |
remove generic linux 2.4 support
SVN-Revision: 21948
Diffstat (limited to 'target/linux/generic-2.4/patches/626-netfilter_conntrack_fix.patch')
-rw-r--r-- | target/linux/generic-2.4/patches/626-netfilter_conntrack_fix.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/target/linux/generic-2.4/patches/626-netfilter_conntrack_fix.patch b/target/linux/generic-2.4/patches/626-netfilter_conntrack_fix.patch deleted file mode 100644 index 363df1492f..0000000000 --- a/target/linux/generic-2.4/patches/626-netfilter_conntrack_fix.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- a/include/linux/netfilter_ipv4/ip_conntrack_tuple.h -+++ b/include/linux/netfilter_ipv4/ip_conntrack_tuple.h -@@ -62,6 +62,35 @@ struct ip_conntrack_tuple - } dst; - }; - -+/* This is exposed to userspace, so remains frozen in time. */ -+struct ip_conntrack_old_tuple -+{ -+ struct ip_conntrack_manip src; -+ -+ /* These are the parts of the tuple which are fixed. */ -+ struct { -+ u_int32_t ip; -+ union { -+ /* Add other protocols here. */ -+ u_int16_t all; -+ -+ struct { -+ u_int16_t port; -+ } tcp; -+ struct { -+ u_int16_t port; -+ } udp; -+ struct { -+ u_int8_t type, code; -+ } icmp; -+ } u; -+ -+ /* The protocol. */ -+ u_int16_t protonum; -+ } dst; -+}; -+ -+ - /* This is optimized opposed to a memset of the whole structure. Everything we - * really care about is the source/destination unions */ - #define IP_CT_TUPLE_U_BLANK(tuple) \ ---- a/include/linux/netfilter_ipv4/ipt_conntrack.h -+++ b/include/linux/netfilter_ipv4/ipt_conntrack.h -@@ -25,7 +25,7 @@ struct ipt_conntrack_info - { - unsigned int statemask, statusmask; - -- struct ip_conntrack_tuple tuple[IP_CT_DIR_MAX]; -+ struct ip_conntrack_old_tuple tuple[IP_CT_DIR_MAX]; - struct in_addr sipmsk[IP_CT_DIR_MAX], dipmsk[IP_CT_DIR_MAX]; - - unsigned long expires_min, expires_max; |