aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_input.c
diff options
context:
space:
mode:
authorJianjun Kong <jianjun@zeuux.org>2008-11-03 02:47:38 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-03 02:47:38 -0800
commitfd3f8c4cb632c28ef915a535617a0fcddcfe3f80 (patch)
tree95cd83e4207b5ccd8542676838cbb0b19c394129 /net/ipv4/ip_input.c
parentnet: clean up net/ipv4/ipmr.c (diff)
downloadlinux-dev-fd3f8c4cb632c28ef915a535617a0fcddcfe3f80.tar.xz
linux-dev-fd3f8c4cb632c28ef915a535617a0fcddcfe3f80.zip
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 '')
-rw-r--r--net/ipv4/ip_input.c4
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