ia64/xen-unstable

view patches/linux-2.6.18/net-gso-5-rcv-mss.patch @ 14131:64d80037e524

Save elfnotes in VM sxpr under image/notes, and load them on restore.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
author kfraser@localhost.localdomain
date Mon Feb 26 09:59:56 2007 +0000 (2007-02-26)
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 {