summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.1/611-netfilter_match_bypass_default_table.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-11-03 20:02:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-11-03 20:02:31 +0000
commit82bd0a43f1fbff02da4db38f91751919529944a4 (patch)
treeee586d0cb96c257a515521bb6d8af156f00882b5 /target/linux/generic/patches-3.1/611-netfilter_match_bypass_default_table.patch
parent44ba13b57890b62ecd30ba8a7ce2758e5b44ee89 (diff)
downloadmaster-31e0f0ae-82bd0a43f1fbff02da4db38f91751919529944a4.tar.gz
master-31e0f0ae-82bd0a43f1fbff02da4db38f91751919529944a4.tar.bz2
master-31e0f0ae-82bd0a43f1fbff02da4db38f91751919529944a4.zip
kernel: merge regression fixes for the netfilter patches to the 3.1 kernel patches (patch by tripolar)
SVN-Revision: 28734
Diffstat (limited to 'target/linux/generic/patches-3.1/611-netfilter_match_bypass_default_table.patch')
-rw-r--r--target/linux/generic/patches-3.1/611-netfilter_match_bypass_default_table.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-3.1/611-netfilter_match_bypass_default_table.patch b/target/linux/generic/patches-3.1/611-netfilter_match_bypass_default_table.patch
index 113f140123..3cf0e5a32d 100644
--- a/target/linux/generic/patches-3.1/611-netfilter_match_bypass_default_table.patch
+++ b/target/linux/generic/patches-3.1/611-netfilter_match_bypass_default_table.patch
@@ -1,6 +1,6 @@
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
-@@ -307,6 +307,33 @@ struct ipt_entry *ipt_next_entry(const s
+@@ -310,6 +310,33 @@ struct ipt_entry *ipt_next_entry(const s
return (void *)entry + entry->next_offset;
}
@@ -34,7 +34,7 @@
/* Returns one of the generic firewall policies, like NF_ACCEPT. */
unsigned int
ipt_do_table(struct sk_buff *skb,
-@@ -331,6 +358,25 @@ ipt_do_table(struct sk_buff *skb,
+@@ -334,6 +361,25 @@ ipt_do_table(struct sk_buff *skb,
ip = ip_hdr(skb);
indev = in ? in->name : nulldevname;
outdev = out ? out->name : nulldevname;
@@ -60,7 +60,7 @@
/* We handle fragments by dealing with the first fragment as
* if it was a normal packet. All other fragments are treated
* normally, except that they will NEVER match rules that ask
-@@ -345,18 +391,6 @@ ipt_do_table(struct sk_buff *skb,
+@@ -348,18 +394,6 @@ ipt_do_table(struct sk_buff *skb,
acpar.family = NFPROTO_IPV4;
acpar.hooknum = hook;