summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/generic-2.6/patches-2.6.35/102-netfilter_layer7_match.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.35/102-netfilter_layer7_match.patch b/target/linux/generic-2.6/patches-2.6.35/102-netfilter_layer7_match.patch
new file mode 100644
index 0000000000..a6b71ceecf
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.35/102-netfilter_layer7_match.patch
@@ -0,0 +1,11 @@
+--- a/net/netfilter/xt_layer7.c
++++ b/net/netfilter/xt_layer7.c
+@@ -416,7 +416,7 @@ static int layer7_write_proc(struct file
+
+ static bool
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28)
+-match(const struct sk_buff *skbin, const struct xt_match_param *par)
++match(const struct sk_buff *skbin, struct xt_action_param *par)
+ #else
+ match(const struct sk_buff *skbin,
+ const struct net_device *in,