|
@@ -612,7 +612,7 @@ find_check_entry(struct ip6t_entry *e, struct net *net, const char *name,
|
|
cleanup_match(ematch, net);
|
|
cleanup_match(ematch, net);
|
|
}
|
|
}
|
|
|
|
|
|
- xt_percpu_counter_free(e->counters.pcnt);
|
|
|
|
|
|
+ xt_percpu_counter_free(&e->counters);
|
|
|
|
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
@@ -699,8 +699,7 @@ static void cleanup_entry(struct ip6t_entry *e, struct net *net)
|
|
if (par.target->destroy != NULL)
|
|
if (par.target->destroy != NULL)
|
|
par.target->destroy(&par);
|
|
par.target->destroy(&par);
|
|
module_put(par.target->me);
|
|
module_put(par.target->me);
|
|
-
|
|
|
|
- xt_percpu_counter_free(e->counters.pcnt);
|
|
|
|
|
|
+ xt_percpu_counter_free(&e->counters);
|
|
}
|
|
}
|
|
|
|
|
|
/* Checks and translates the user-supplied table segment (held in
|
|
/* Checks and translates the user-supplied table segment (held in
|