ia64/linux-2.6.18-xen.hg

changeset 10:69a9c3af24fc

Imported patch net-gso-5-rcv-mss.patch from xen-unstable.hg 15200:bd3d6b4c52ec
author Ian Campbell <ian.campbell@xensource.com>
date Mon Jun 04 10:05:23 2007 +0100 (2007-06-04)
parents fac1f3836a60
children e1c18245a2f5
files net/ipv4/tcp_input.c
line diff
     1.1 --- a/net/ipv4/tcp_input.c	Mon Jun 04 10:05:23 2007 +0100
     1.2 +++ b/net/ipv4/tcp_input.c	Mon Jun 04 10:05:23 2007 +0100
     1.3 @@ -127,7 +127,7 @@ static void tcp_measure_rcv_mss(struct s
     1.4  	/* skb->len may jitter because of SACKs, even if peer
     1.5  	 * sends good full-sized frames.
     1.6  	 */
     1.7 -	len = skb->len;
     1.8 +	len = skb_shinfo(skb)->gso_size ?: skb->len;
     1.9  	if (len >= icsk->icsk_ack.rcv_mss) {
    1.10  		icsk->icsk_ack.rcv_mss = len;
    1.11  	} else {