]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- fixed imq_nf_hook definition
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 1 Feb 2014 09:11:44 +0000 (10:11 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 1 Feb 2014 09:11:44 +0000 (10:11 +0100)
kernel-imq.patch

index e08c3a6abf13ab24109d44eb64edbba7a7a203f6..25e59634c1eac5cac81071491d6daf8b7cb2dd4b 100644 (file)
@@ -182,7 +182,7 @@ new file mode 100644
 index 0000000..801bc8c
 --- /dev/null
 +++ b/drivers/net/imq.c
-@@ -0,0 +1,1010 @@
+@@ -0,0 +1,1012 @@
 +/*
 + *             Pseudo-driver for the intermediate queue device.
 + *
@@ -359,7 +359,8 @@ index 0000000..801bc8c
 +
 +static int imq_nf_queue(struct nf_queue_entry *entry, unsigned queue_num);
 +
-+static unsigned int imq_nf_hook(unsigned int hook, struct sk_buff *pskb,
++static unsigned int imq_nf_hook(const struct nf_hook_ops *ops,
++                              struct sk_buff *pskb,
 +                              const struct net_device *indev,
 +                              const struct net_device *outdev,
 +                              int (*okfn)(struct sk_buff *));
@@ -979,7 +980,8 @@ index 0000000..801bc8c
 +      return retval;
 +}
 +
-+static unsigned int imq_nf_hook(unsigned int hook, struct sk_buff *pskb,
++static unsigned int imq_nf_hook(const struct nf_hook_ops *ops,
++                              struct sk_buff *pskb,
 +                              const struct net_device *indev,
 +                              const struct net_device *outdev,
 +                              int (*okfn)(struct sk_buff *))
This page took 0.705286 seconds and 4 git commands to generate.