diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-05-18 20:24:13 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-05-18 20:24:13 +0000 |
commit | ff4e17bc25b735788cbe60f4c83231c47e2929f8 (patch) | |
tree | 4f317d1f4de3bbec467b59bec12303115fe08497 /target/linux/generic-2.6/patches-2.6.22/140-netfilter_time.patch | |
parent | 8b2e13cf021df39b157ede0b067128a2552a9efa (diff) |
[kernel] refresh generic 2.6.22 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11186 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.22/140-netfilter_time.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.22/140-netfilter_time.patch | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.22/140-netfilter_time.patch b/target/linux/generic-2.6/patches-2.6.22/140-netfilter_time.patch index 086eb97cd..e153ebed7 100644 --- a/target/linux/generic-2.6/patches-2.6.22/140-netfilter_time.patch +++ b/target/linux/generic-2.6/patches-2.6.22/140-netfilter_time.patch @@ -1,6 +1,7 @@ -diff -urN linux-2.6.21.1.old/include/linux/netfilter_ipv4/ipt_time.h linux-2.6.21.1.dev/include/linux/netfilter_ipv4/ipt_time.h ---- linux-2.6.21.1.old/include/linux/netfilter_ipv4/ipt_time.h 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.21.1.dev/include/linux/netfilter_ipv4/ipt_time.h 2007-05-26 20:31:03.596402160 +0200 +Index: linux-2.6.22.19/include/linux/netfilter_ipv4/ipt_time.h +=================================================================== +--- /dev/null ++++ linux-2.6.22.19/include/linux/netfilter_ipv4/ipt_time.h @@ -0,0 +1,18 @@ +#ifndef __ipt_time_h_included__ +#define __ipt_time_h_included__ @@ -20,9 +21,10 @@ diff -urN linux-2.6.21.1.old/include/linux/netfilter_ipv4/ipt_time.h linux-2.6.2 + + +#endif /* __ipt_time_h_included__ */ -diff -urN linux-2.6.21.1.old/net/ipv4/netfilter/ipt_time.c linux-2.6.21.1.dev/net/ipv4/netfilter/ipt_time.c ---- linux-2.6.21.1.old/net/ipv4/netfilter/ipt_time.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.21.1.dev/net/ipv4/netfilter/ipt_time.c 2007-05-26 20:31:03.596402160 +0200 +Index: linux-2.6.22.19/net/ipv4/netfilter/ipt_time.c +=================================================================== +--- /dev/null ++++ linux-2.6.22.19/net/ipv4/netfilter/ipt_time.c @@ -0,0 +1,180 @@ +/* + This is a module which is used for time matching @@ -204,10 +206,11 @@ diff -urN linux-2.6.21.1.old/net/ipv4/netfilter/ipt_time.c linux-2.6.21.1.dev/ne + r->tm_mon=i; + r->tm_mday=work-__spm[i]+1; +} -diff -urN linux-2.6.21.1.old/net/ipv4/netfilter/Kconfig linux-2.6.21.1.dev/net/ipv4/netfilter/Kconfig ---- linux-2.6.21.1.old/net/ipv4/netfilter/Kconfig 2007-05-26 20:31:03.452424048 +0200 -+++ linux-2.6.21.1.dev/net/ipv4/netfilter/Kconfig 2007-05-26 20:31:03.597402008 +0200 -@@ -96,6 +96,22 @@ +Index: linux-2.6.22.19/net/ipv4/netfilter/Kconfig +=================================================================== +--- linux-2.6.22.19.orig/net/ipv4/netfilter/Kconfig ++++ linux-2.6.22.19/net/ipv4/netfilter/Kconfig +@@ -78,6 +78,22 @@ config IP_NF_MATCH_TOS To compile it as a module, choose M here. If unsure, say N. @@ -230,10 +233,11 @@ diff -urN linux-2.6.21.1.old/net/ipv4/netfilter/Kconfig linux-2.6.21.1.dev/net/i config IP_NF_MATCH_RECENT tristate "recent match support" depends on IP_NF_IPTABLES -diff -urN linux-2.6.21.1.old/net/ipv4/netfilter/Makefile linux-2.6.21.1.dev/net/ipv4/netfilter/Makefile ---- linux-2.6.21.1.old/net/ipv4/netfilter/Makefile 2007-05-26 20:31:03.452424048 +0200 -+++ linux-2.6.21.1.dev/net/ipv4/netfilter/Makefile 2007-05-26 20:31:03.597402008 +0200 -@@ -44,6 +44,7 @@ +Index: linux-2.6.22.19/net/ipv4/netfilter/Makefile +=================================================================== +--- linux-2.6.22.19.orig/net/ipv4/netfilter/Makefile ++++ linux-2.6.22.19/net/ipv4/netfilter/Makefile +@@ -44,6 +44,7 @@ obj-$(CONFIG_IP_NF_RAW) += iptable_raw.o obj-$(CONFIG_IP_NF_MATCH_IPRANGE) += ipt_iprange.o obj-$(CONFIG_IP_NF_MATCH_OWNER) += ipt_owner.o obj-$(CONFIG_IP_NF_MATCH_TOS) += ipt_tos.o |