inet netfilter: Remove hook from ip6t_do_table, arp_do_table, ipt_do_table
[linux-2.6-microblaze.git] / net / ipv6 / netfilter / ip6table_filter.c
index 2449005..a7327f6 100644 (file)
@@ -35,8 +35,7 @@ static unsigned int
 ip6table_filter_hook(const struct nf_hook_ops *ops, struct sk_buff *skb,
                     const struct nf_hook_state *state)
 {
-       return ip6t_do_table(skb, ops->hooknum, state,
-                            state->net->ipv6.ip6table_filter);
+       return ip6t_do_table(skb, state, state->net->ipv6.ip6table_filter);
 }
 
 static struct nf_hook_ops *filter_ops __read_mostly;