tcp_output.c (7b7e394185014e0f3bd8989cac937003f20ef9ce) | tcp_output.c (83de47cd0c5738105f40e65191b0761dfa7431ac) |
---|---|
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_output.c,v 1.146 2002/02/01 22:01:04 davem Exp $ --- 451 unchanged lines hidden (view full) --- 460 tcp_event_ack_sent(sk, tcp_skb_pcount(skb)); 461 462 if (skb->len != tcp_header_size) 463 tcp_event_data_sent(tp, skb, sk); 464 465 TCP_INC_STATS(TCP_MIB_OUTSEGS); 466 467 err = icsk->icsk_af_ops->queue_xmit(skb, 0); | 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_output.c,v 1.146 2002/02/01 22:01:04 davem Exp $ --- 451 unchanged lines hidden (view full) --- 460 tcp_event_ack_sent(sk, tcp_skb_pcount(skb)); 461 462 if (skb->len != tcp_header_size) 463 tcp_event_data_sent(tp, skb, sk); 464 465 TCP_INC_STATS(TCP_MIB_OUTSEGS); 466 467 err = icsk->icsk_af_ops->queue_xmit(skb, 0); |
468 if (unlikely(err <= 0)) | 468 if (likely(err <= 0)) |
469 return err; 470 471 tcp_enter_cwr(sk); 472 473 /* NET_XMIT_CN is special. It does not guarantee, 474 * that this packet is lost. It tells that device 475 * is about to start to drop packets or already 476 * drops some packets of the same priority and --- 1922 unchanged lines hidden --- | 469 return err; 470 471 tcp_enter_cwr(sk); 472 473 /* NET_XMIT_CN is special. It does not guarantee, 474 * that this packet is lost. It tells that device 475 * is about to start to drop packets or already 476 * drops some packets of the same priority and --- 1922 unchanged lines hidden --- |