ia64/xen-unstable

view patches/linux-2.6.18/net-gso-5-rcv-mss.patch @ 13525:3adf00179a63

[linux] Update to linux-2.6.18.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author Christian Limpach <Christian.Limpach@xensource.com>
date Wed Jan 17 18:41:22 2007 +0000 (2007-01-17)
parents patches/linux-2.6.17/net-gso-5-rcv-mss.patch@4fad820a2233
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 {