netfilter: Make nf_hookfn use nf_hook_state.
[deliverable/linux.git] / net / ipv6 / netfilter / ip6t_SYNPROXY.c
index a0d17270117c37793be3cb61c4d767cd57f70611..6edb7b106de769728357174d0657c644f83e41e8 100644 (file)
@@ -315,11 +315,9 @@ synproxy_tg6(struct sk_buff *skb, const struct xt_action_param *par)
 
 static unsigned int ipv6_synproxy_hook(const struct nf_hook_ops *ops,
                                       struct sk_buff *skb,
-                                      const struct net_device *in,
-                                      const struct net_device *out,
-                                      int (*okfn)(struct sk_buff *))
+                                      const struct nf_hook_state *nhs)
 {
-       struct synproxy_net *snet = synproxy_pernet(dev_net(in ? : out));
+       struct synproxy_net *snet = synproxy_pernet(dev_net(nhs->in ? : nhs->out));
        enum ip_conntrack_info ctinfo;
        struct nf_conn *ct;
        struct nf_conn_synproxy *synproxy;
This page took 0.024838 seconds and 5 git commands to generate.