OSDN Git Service

netfilter: x_tables: move hook state into xt_action_param structure
[android-x86/kernel.git] / net / ipv6 / netfilter / ip6_tables.c
index 55aacea..7eac01d 100644 (file)
@@ -291,11 +291,7 @@ ip6t_do_table(struct sk_buff *skb,
         * rule is also a fragment-specific rule, non-fragments won't
         * match it. */
        acpar.hotdrop = false;
-       acpar.net     = state->net;
-       acpar.in      = state->in;
-       acpar.out     = state->out;
-       acpar.family  = NFPROTO_IPV6;
-       acpar.hooknum = hook;
+       acpar.state   = state;
 
        IP_NF_ASSERT(table->valid_hooks & (1 << hook));