diff options
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) | |||
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 | ||