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>
This commit is contained in:
committed by
David S. Miller
parent
c354e12463
commit
fd3f8c4cb6
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user