summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_core.c
diff options
context:
space:
mode:
authorMartin Josefsson2006-11-29 02:35:10 +0100
committerDavid S. Miller2006-12-03 06:31:12 +0100
commit3ffd5eeb1a031ad226c80ae6e658970cd08569e2 (patch)
treecb94f550c8398e15201a2b25b5b2a6cdfbf40679 /net/netfilter/nf_conntrack_core.c
parent[NETFILTER]: nf_conntrack: remove ASSERT_{READ,WRITE}_LOCK (diff)
downloadkernel-qcow2-linux-3ffd5eeb1a031ad226c80ae6e658970cd08569e2.tar.gz
kernel-qcow2-linux-3ffd5eeb1a031ad226c80ae6e658970cd08569e2.tar.xz
kernel-qcow2-linux-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/nf_conntrack_core.c')
-rw-r--r--net/netfilter/nf_conntrack_core.c7
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