]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_conntrack_acct: use skb->len for accounting
authorChangli Gao <xiaosuo@gmail.com>
Mon, 2 Aug 2010 15:56:28 +0000 (17:56 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 2 Aug 2010 15:56:28 +0000 (17:56 +0200)
commit02d5bcf8470869bfb7d1b9a52ee55e2701f631a2
treebaa2e3cd57259be6320e506b1d664224da2313ed
parent599b68aa30b76819fc11a7be1a54cb426fdb1ed8
netfilter: nf_conntrack_acct: use skb->len for accounting

use skb->len for accounting as xt_quota does. Since nf_conntrack works
at the network layer, skb_network_offset should always returns ZERO.

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