netfilter: ip6tables: use skb->len for accounting
authorChangli Gao <xiaosuo@gmail.com>
Fri, 23 Jul 2010 14:24:34 +0000 (16:24 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 23 Jul 2010 14:24:34 +0000 (16:24 +0200)
commit261abc8c964e018256c1bcbd99b8a208c624d7cc
treec98dd4640e000fe0fa0f4bbc57d8db92d88c492a
parent49daf6a22622d4e1619aeaad5f9f0472bf89daff
netfilter: ip6tables: use skb->len for accounting

ipv6_hdr(skb)->payload_len is ZERO and can't be used for accounting, if
the payload is a Jumbo Payload specified in RFC2675.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv6/netfilter/ip6_tables.c