diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-05-02 10:17:03 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-05-02 10:17:03 +0000 |
commit | 1d4db4520ab1c4e7472a48d14ec641e2ef074b6b (patch) | |
tree | b992b5d551457de6a5d6f53b37b9eec182c68c29 /target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch | |
parent | 5c09219b13a1f3695729cc24ac7e8390859a406f (diff) | |
download | master-187ad058-1d4db4520ab1c4e7472a48d14ec641e2ef074b6b.tar.gz master-187ad058-1d4db4520ab1c4e7472a48d14ec641e2ef074b6b.tar.bz2 master-187ad058-1d4db4520ab1c4e7472a48d14ec641e2ef074b6b.zip |
[kernel] update to 2.6.25.1 and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11006 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch b/target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch index e933bc601b..9b1c4478f4 100644 --- a/target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch +++ b/target/linux/generic-2.6/patches-2.6.25/140-netfilter_time.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.23-rc6/include/linux/netfilter_ipv4/ipt_time.h +Index: linux-2.6.25.1/include/linux/netfilter_ipv4/ipt_time.h =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23-rc6/include/linux/netfilter_ipv4/ipt_time.h 2007-09-21 16:24:02.000000000 +0800 +--- /dev/null ++++ linux-2.6.25.1/include/linux/netfilter_ipv4/ipt_time.h @@ -0,0 +1,18 @@ +#ifndef __ipt_time_h_included__ +#define __ipt_time_h_included__ @@ -21,10 +21,10 @@ Index: linux-2.6.23-rc6/include/linux/netfilter_ipv4/ipt_time.h + + +#endif /* __ipt_time_h_included__ */ -Index: linux-2.6.23-rc6/net/ipv4/netfilter/ipt_time.c +Index: linux-2.6.25.1/net/ipv4/netfilter/ipt_time.c =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23-rc6/net/ipv4/netfilter/ipt_time.c 2007-09-21 16:24:02.000000000 +0800 +--- /dev/null ++++ linux-2.6.25.1/net/ipv4/netfilter/ipt_time.c @@ -0,0 +1,180 @@ +/* + This is a module which is used for time matching @@ -206,13 +206,13 @@ Index: linux-2.6.23-rc6/net/ipv4/netfilter/ipt_time.c + r->tm_mon=i; + r->tm_mday=work-__spm[i]+1; +} -Index: linux-2.6.23-rc6/net/ipv4/netfilter/Kconfig +Index: linux-2.6.25.1/net/ipv4/netfilter/Kconfig =================================================================== ---- linux-2.6.23-rc6.orig/net/ipv4/netfilter/Kconfig 2007-09-21 16:24:01.000000000 +0800 -+++ linux-2.6.23-rc6/net/ipv4/netfilter/Kconfig 2007-09-21 16:24:02.000000000 +0800 -@@ -96,6 +96,22 @@ - - To compile it as a module, choose M here. If unsure, say N. +--- linux-2.6.25.1.orig/net/ipv4/netfilter/Kconfig ++++ linux-2.6.25.1/net/ipv4/netfilter/Kconfig +@@ -63,6 +63,22 @@ config IP_NF_MATCH_IPP2P + help + Module for matching traffic of various Peer-to-Peer applications + +config IP_NF_MATCH_TIME @@ -231,14 +231,14 @@ Index: linux-2.6.23-rc6/net/ipv4/netfilter/Kconfig + + config IP_NF_MATCH_RECENT - tristate "recent match support" + tristate '"recent" match support' depends on IP_NF_IPTABLES -Index: linux-2.6.23-rc6/net/ipv4/netfilter/Makefile +Index: linux-2.6.25.1/net/ipv4/netfilter/Makefile =================================================================== ---- linux-2.6.23-rc6.orig/net/ipv4/netfilter/Makefile 2007-09-21 16:24:01.000000000 +0800 -+++ linux-2.6.23-rc6/net/ipv4/netfilter/Makefile 2007-09-21 16:24:02.000000000 +0800 -@@ -50,6 +50,7 @@ - obj-$(CONFIG_IP_NF_MATCH_TOS) += ipt_tos.o +--- linux-2.6.25.1.orig/net/ipv4/netfilter/Makefile ++++ linux-2.6.25.1/net/ipv4/netfilter/Makefile +@@ -47,6 +47,7 @@ obj-$(CONFIG_IP_NF_MATCH_ECN) += ipt_ecn + obj-$(CONFIG_IP_NF_MATCH_RECENT) += ipt_recent.o obj-$(CONFIG_IP_NF_MATCH_TTL) += ipt_ttl.o obj-$(CONFIG_IP_NF_MATCH_SET) += ipt_set.o +obj-$(CONFIG_IP_NF_MATCH_TIME) += ipt_time.o |