direct-io.hg

annotate patches/linux-2.6.16.33/net-gso-5-rcv-mss.patch @ 12988:e080700efa56

[TOOLS] Fix the build. Clearly demarcate PPC-specific stuff.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Dec 13 10:23:53 2006 +0000 (2006-12-13)
parents 6c2c7ff6265a
children
rev   line source
ian@12592 1 diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
ian@12592 2 index 104af5d..1fa1536 100644
ian@12592 3 --- a/net/ipv4/tcp_input.c
ian@12592 4 +++ b/net/ipv4/tcp_input.c
ian@12592 5 @@ -127,7 +127,7 @@ static void tcp_measure_rcv_mss(struct s
ian@12592 6 /* skb->len may jitter because of SACKs, even if peer
ian@12592 7 * sends good full-sized frames.
ian@12592 8 */
ian@12592 9 - len = skb->len;
ian@12592 10 + len = skb_shinfo(skb)->gso_size ?: skb->len;
ian@12592 11 if (len >= icsk->icsk_ack.rcv_mss) {
ian@12592 12 icsk->icsk_ack.rcv_mss = len;
ian@12592 13 } else {