tcp_input.c (6f74651ae626ec672028587bc700538076dfbefb) | tcp_input.c (8a3c3a972741dec77220a19642bd3331551ad2d9) |
---|---|
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 $ --- 984 unchanged lines hidden (view full) --- 993 } else { 994 if ((tp->recv_sack_cache[i].start_seq != start_seq) || 995 (tp->recv_sack_cache[i].end_seq != end_seq)) 996 flag = 0; 997 } 998 tp->recv_sack_cache[i].start_seq = start_seq; 999 tp->recv_sack_cache[i].end_seq = end_seq; 1000 } | 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 $ --- 984 unchanged lines hidden (view full) --- 993 } else { 994 if ((tp->recv_sack_cache[i].start_seq != start_seq) || 995 (tp->recv_sack_cache[i].end_seq != end_seq)) 996 flag = 0; 997 } 998 tp->recv_sack_cache[i].start_seq = start_seq; 999 tp->recv_sack_cache[i].end_seq = end_seq; 1000 } |
1001 /* Clear the rest of the cache sack blocks so they won't match mistakenly. */ 1002 for (; i < ARRAY_SIZE(tp->recv_sack_cache); i++) { 1003 tp->recv_sack_cache[i].start_seq = 0; 1004 tp->recv_sack_cache[i].end_seq = 0; 1005 } |
|
1001 1002 first_sack_index = 0; 1003 if (flag) 1004 num_sacks = 1; 1005 else { 1006 int j; 1007 tp->fastpath_skb_hint = NULL; 1008 --- 3650 unchanged lines hidden --- | 1006 1007 first_sack_index = 0; 1008 if (flag) 1009 num_sacks = 1; 1010 else { 1011 int j; 1012 tp->fastpath_skb_hint = NULL; 1013 --- 3650 unchanged lines hidden --- |