projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kernel] fix some netfilter extensions on 2.6.25
[openwrt-10.03/.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.25
/
140-netfilter_time.patch
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 a77f04c244b6625fd8fa393ea273ea73d84e95ef..e933bc601b7da3fb76cc5661e0ed8e5e2063d53a 100644
(file)
--- 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
@@
-122,7
+122,7
@@
Index: linux-2.6.23-rc6/net/ipv4/netfilter/ipt_time.c
+
+ /* First, check that we are in the correct hooks */
+ if (hook_mask
+
+ /* First, check that we are in the correct hooks */
+ if (hook_mask
-+ & ~((1 << NF_I
P_PRE_ROUTING) | (1 << NF_IP_LOCAL_IN) | (1 << NF_IP_FORWARD) | (1 << NF_IP
_LOCAL_OUT)))
++ & ~((1 << NF_I
NET_PRE_ROUTING) | (1 << NF_INET_LOCAL_IN) | (1 << NF_INET_FORWARD) | (1 << NF_INET
_LOCAL_OUT)))
+ {
+ printk("ipt_time: error, only valid for PRE_ROUTING, LOCAL_IN, FORWARD and OUTPUT)\n");
+ return 0;
+ {
+ printk("ipt_time: error, only valid for PRE_ROUTING, LOCAL_IN, FORWARD and OUTPUT)\n");
+ return 0;