diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2006-11-29 02:35:10 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:31:12 -0800 |
commit | 3ffd5eeb1a031ad226c80ae6e658970cd08569e2 (patch) | |
tree | cb94f550c8398e15201a2b25b5b2a6cdfbf40679 /net/netfilter | |
parent | 951d36cace3d3ad2ac6c222e126aed4113ad2bf7 (diff) | |
download | linux-stable-3ffd5eeb1a031ad226c80ae6e658970cd08569e2.tar.gz linux-stable-3ffd5eeb1a031ad226c80ae6e658970cd08569e2.tar.bz2 linux-stable-3ffd5eeb1a031ad226c80ae6e658970cd08569e2.zip |
[NETFILTER]: nf_conntrack: minor __nf_ct_refresh_acct() whitespace cleanup
Minor whitespace cleanup.
Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter')
-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, ct->counters[CTINFO2DIR(ctinfo)].packets++; ct->counters[CTINFO2DIR(ctinfo)].bytes += skb->len - (unsigned int)(skb->nh.raw - skb->data); - if ((ct->counters[CTINFO2DIR(ctinfo)].packets & 0x80000000) - || (ct->counters[CTINFO2DIR(ctinfo)].bytes & 0x80000000)) - event |= IPCT_COUNTER_FILLING; + + if ((ct->counters[CTINFO2DIR(ctinfo)].packets & 0x80000000) + || (ct->counters[CTINFO2DIR(ctinfo)].bytes & 0x80000000)) + event |= IPCT_COUNTER_FILLING; } #endif |