diff options
-rw-r--r-- | net/netfilter/nf_conntrack_core.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c index ab161b7a76a3..355b330c214e 100644 --- a/net/netfilter/nf_conntrack_core.c +++ b/net/netfilter/nf_conntrack_core.c | |||
@@ -877,9 +877,10 @@ void __nf_ct_refresh_acct(struct nf_conn *ct, | |||
877 | ct->counters[CTINFO2DIR(ctinfo)].packets++; | 877 | ct->counters[CTINFO2DIR(ctinfo)].packets++; |
878 | ct->counters[CTINFO2DIR(ctinfo)].bytes += | 878 | ct->counters[CTINFO2DIR(ctinfo)].bytes += |
879 | skb->len - (unsigned int)(skb->nh.raw - skb->data); | 879 | skb->len - (unsigned int)(skb->nh.raw - skb->data); |
880 | if ((ct->counters[CTINFO2DIR(ctinfo)].packets & 0x80000000) | 880 | |
881 | || (ct->counters[CTINFO2DIR(ctinfo)].bytes & 0x80000000)) | 881 | if ((ct->counters[CTINFO2DIR(ctinfo)].packets & 0x80000000) |
882 | event |= IPCT_COUNTER_FILLING; | 882 | || (ct->counters[CTINFO2DIR(ctinfo)].bytes & 0x80000000)) |
883 | event |= IPCT_COUNTER_FILLING; | ||
883 | } | 884 | } |
884 | #endif | 885 | #endif |
885 | 886 | ||