diff options
| author | Ravikiran G. Thirumalai <kiran@in.ibm.com> | 2003-01-06 10:19:16 -0800 |
|---|---|---|
| committer | David S. Miller <davem@kernel.bkbits.net> | 2003-01-06 10:19:16 -0800 |
| commit | c9d4b9b13f7a58890cf2fedb680a1b035fd4cce6 (patch) | |
| tree | fef1186692ecc5f1b8f001a573ce2bcf5d34ecb5 /net/ipv4/tcp_timer.c | |
| parent | a6a05f7e779b203fd2dcfea4452f7c1a673f3de2 (diff) | |
[IPV4]: Convert mibstats to use kmalloc_percpu
Diffstat (limited to 'net/ipv4/tcp_timer.c')
| -rw-r--r-- | net/ipv4/tcp_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index 619e89ea2c49..fc2102496536 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c @@ -237,7 +237,8 @@ static void tcp_delack_timer(unsigned long data) if (skb_queue_len(&tp->ucopy.prequeue)) { struct sk_buff *skb; - net_statistics[smp_processor_id()*2].TCPSchedulerFailed += skb_queue_len(&tp->ucopy.prequeue); + NET_ADD_STATS_BH(TCPSchedulerFailed, + skb_queue_len(&tp->ucopy.prequeue)); while ((skb = __skb_dequeue(&tp->ucopy.prequeue)) != NULL) sk->backlog_rcv(sk, skb); |
