diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_conntrack_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c index 16b41b4e2a3c..df3eedb142ff 100644 --- a/net/netfilter/nf_conntrack_core.c +++ b/net/netfilter/nf_conntrack_core.c | |||
@@ -966,8 +966,7 @@ acct: | |||
966 | if (acct) { | 966 | if (acct) { |
967 | spin_lock_bh(&ct->lock); | 967 | spin_lock_bh(&ct->lock); |
968 | acct[CTINFO2DIR(ctinfo)].packets++; | 968 | acct[CTINFO2DIR(ctinfo)].packets++; |
969 | acct[CTINFO2DIR(ctinfo)].bytes += | 969 | acct[CTINFO2DIR(ctinfo)].bytes += skb->len; |
970 | skb->len - skb_network_offset(skb); | ||
971 | spin_unlock_bh(&ct->lock); | 970 | spin_unlock_bh(&ct->lock); |
972 | } | 971 | } |
973 | } | 972 | } |