tcp_timer.c (f45727d52d1581e9ff4df9d1a12a60789ad2d1eb) | tcp_timer.c (b03efcfb2180289718991bb984044ce6c5b7d1b0) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Implementation of the Transmission Control Protocol(TCP). 7 * 8 * Version: $Id: tcp_timer.c,v 1.88 2002/02/01 22:01:04 davem Exp $ --- 217 unchanged lines hidden (view full) --- 226 goto out; 227 228 if (time_after(tp->ack.timeout, jiffies)) { 229 sk_reset_timer(sk, &tp->delack_timer, tp->ack.timeout); 230 goto out; 231 } 232 tp->ack.pending &= ~TCP_ACK_TIMER; 233 | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Implementation of the Transmission Control Protocol(TCP). 7 * 8 * Version: $Id: tcp_timer.c,v 1.88 2002/02/01 22:01:04 davem Exp $ --- 217 unchanged lines hidden (view full) --- 226 goto out; 227 228 if (time_after(tp->ack.timeout, jiffies)) { 229 sk_reset_timer(sk, &tp->delack_timer, tp->ack.timeout); 230 goto out; 231 } 232 tp->ack.pending &= ~TCP_ACK_TIMER; 233 |
234 if (skb_queue_len(&tp->ucopy.prequeue)) { | 234 if (!skb_queue_empty(&tp->ucopy.prequeue)) { |
235 struct sk_buff *skb; 236 | 235 struct sk_buff *skb; 236 |
237 NET_ADD_STATS_BH(LINUX_MIB_TCPSCHEDULERFAILED, 238 skb_queue_len(&tp->ucopy.prequeue)); | 237 NET_INC_STATS_BH(LINUX_MIB_TCPSCHEDULERFAILED); |
239 240 while ((skb = __skb_dequeue(&tp->ucopy.prequeue)) != NULL) 241 sk->sk_backlog_rcv(sk, skb); 242 243 tp->ucopy.memory = 0; 244 } 245 246 if (tcp_ack_scheduled(tp)) { --- 406 unchanged lines hidden --- | 238 239 while ((skb = __skb_dequeue(&tp->ucopy.prequeue)) != NULL) 240 sk->sk_backlog_rcv(sk, skb); 241 242 tp->ucopy.memory = 0; 243 } 244 245 if (tcp_ack_scheduled(tp)) { --- 406 unchanged lines hidden --- |