|
@@ -387,9 +387,7 @@ ip6t_do_table(struct sk_buff *skb,
|
|
|
goto no_match;
|
|
|
}
|
|
|
|
|
|
- ADD_COUNTER(e->counters,
|
|
|
- ntohs(ipv6_hdr(skb)->payload_len) +
|
|
|
- sizeof(struct ipv6hdr), 1);
|
|
|
+ ADD_COUNTER(e->counters, skb->len, 1);
|
|
|
|
|
|
t = ip6t_get_target_c(e);
|
|
|
IP_NF_ASSERT(t->u.kernel.target);
|