tcp_input.c (cf816ecb533ab96b883dfdc0db174598b5b5c4d2) tcp_input.c (d7ee147d4f84219a44670eb0db3a91e58d14a81c)
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_input.c,v 1.243 2002/02/01 22:01:04 davem Exp $

--- 2284 unchanged lines hidden (view full) ---

2293
2294/* Nothing was retransmitted or returned timestamp is less
2295 * than timestamp of the first retransmission.
2296 */
2297static inline int tcp_packet_delayed(struct tcp_sock *tp)
2298{
2299 return !tp->retrans_stamp ||
2300 (tp->rx_opt.saw_tstamp && tp->rx_opt.rcv_tsecr &&
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_input.c,v 1.243 2002/02/01 22:01:04 davem Exp $

--- 2284 unchanged lines hidden (view full) ---

2293
2294/* Nothing was retransmitted or returned timestamp is less
2295 * than timestamp of the first retransmission.
2296 */
2297static inline int tcp_packet_delayed(struct tcp_sock *tp)
2298{
2299 return !tp->retrans_stamp ||
2300 (tp->rx_opt.saw_tstamp && tp->rx_opt.rcv_tsecr &&
2301 (__s32)(tp->rx_opt.rcv_tsecr - tp->retrans_stamp) < 0);
2301 before(tp->rx_opt.rcv_tsecr, tp->retrans_stamp));
2302}
2303
2304/* Undo procedures. */
2305
2306#if FASTRETRANS_DEBUG > 1
2307static void DBGUNDO(struct sock *sk, const char *msg)
2308{
2309 struct tcp_sock *tp = tcp_sk(sk);

--- 3144 unchanged lines hidden ---
2302}
2303
2304/* Undo procedures. */
2305
2306#if FASTRETRANS_DEBUG > 1
2307static void DBGUNDO(struct sock *sk, const char *msg)
2308{
2309 struct tcp_sock *tp = tcp_sk(sk);

--- 3144 unchanged lines hidden ---