aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_input.c
diff options
context:
space:
mode:
authorJianjun Kong <jianjun@zeuux.org>2008-11-03 05:47:38 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-03 05:47:38 -0500
commitfd3f8c4cb632c28ef915a535617a0fcddcfe3f80 (patch)
tree95cd83e4207b5ccd8542676838cbb0b19c394129 /net/ipv4/ip_input.c
parentc354e1246348e25c714e6b2973f3257183d06e2c (diff)
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.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)
340 struct ip_rt_acct *st = per_cpu_ptr(ip_rt_acct, smp_processor_id()); 340 struct ip_rt_acct *st = per_cpu_ptr(ip_rt_acct, smp_processor_id());
341 u32 idx = skb->dst->tclassid; 341 u32 idx = skb->dst->tclassid;
342 st[idx&0xFF].o_packets++; 342 st[idx&0xFF].o_packets++;
343 st[idx&0xFF].o_bytes+=skb->len; 343 st[idx&0xFF].o_bytes += skb->len;
344 st[(idx>>16)&0xFF].i_packets++; 344 st[(idx>>16)&0xFF].i_packets++;
345 st[(idx>>16)&0xFF].i_bytes+=skb->len; 345 st[(idx>>16)&0xFF].i_bytes += skb->len;
346 } 346 }
347#endif 347#endif
348 348