ia64/xen-unstable

view patches/linux-2.6.18/net-gso-5-rcv-mss.patch @ 14445:cb1693873a7e

libxc: Explicitly reserve space for special pages in HVM memmap.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Mar 16 18:59:28 2007 +0000 (2007-03-16)
parents 3adf00179a63
children
line source
1 diff -pruN ../orig-linux-2.6.18/net/ipv4/tcp_input.c ./net/ipv4/tcp_input.c
2 --- ../orig-linux-2.6.18/net/ipv4/tcp_input.c 2006-09-20 04:42:06.000000000 +0100
3 +++ ./net/ipv4/tcp_input.c 2007-01-12 18:10:16.000000000 +0000
4 @@ -127,7 +127,7 @@ static void tcp_measure_rcv_mss(struct s
5 /* skb->len may jitter because of SACKs, even if peer
6 * sends good full-sized frames.
7 */
8 - len = skb->len;
9 + len = skb_shinfo(skb)->gso_size ?: skb->len;
10 if (len >= icsk->icsk_ack.rcv_mss) {
11 icsk->icsk_ack.rcv_mss = len;
12 } else {