diff options
author | Jianjun Kong <jianjun@zeuux.org> | 2008-11-03 13:47:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-03 13:47:38 +0300 |
commit | fd3f8c4cb632c28ef915a535617a0fcddcfe3f80 (patch) | |
tree | 95cd83e4207b5ccd8542676838cbb0b19c394129 /net/ipv4/ip_input.c | |
parent | c354e1246348e25c714e6b2973f3257183d06e2c (diff) | |
download | linux-fd3f8c4cb632c28ef915a535617a0fcddcfe3f80.tar.xz |
net: clean up net/ipv4/ip_fragment.c tcp_timer.c ip_input.c
Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_input.c')
-rw-r--r-- | net/ipv4/ip_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index 1b6475c05eb4..70bedab03b09 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c @@ -340,9 +340,9 @@ static int ip_rcv_finish(struct sk_buff *skb) struct ip_rt_acct *st = per_cpu_ptr(ip_rt_acct, smp_processor_id()); u32 idx = skb->dst->tclassid; st[idx&0xFF].o_packets++; - st[idx&0xFF].o_bytes+=skb->len; + st[idx&0xFF].o_bytes += skb->len; st[(idx>>16)&0xFF].i_packets++; - st[(idx>>16)&0xFF].i_bytes+=skb->len; + st[(idx>>16)&0xFF].i_bytes += skb->len; } #endif |