direct-io.hg

view patches/linux-2.6.16.33/net-gso-5-rcv-mss.patch @ 12592:6c2c7ff6265a

[LINUX] Update to 2.6.16.33.

No changes required to sparse tree or patches directory.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Tue Nov 28 15:25:26 2006 +0000 (2006-11-28)
parents
children
line source
1 diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
2 index 104af5d..1fa1536 100644
3 --- a/net/ipv4/tcp_input.c
4 +++ b/net/ipv4/tcp_input.c
5 @@ -127,7 +127,7 @@ static void tcp_measure_rcv_mss(struct s
6 /* skb->len may jitter because of SACKs, even if peer
7 * sends good full-sized frames.
8 */
9 - len = skb->len;
10 + len = skb_shinfo(skb)->gso_size ?: skb->len;
11 if (len >= icsk->icsk_ack.rcv_mss) {
12 icsk->icsk_ack.rcv_mss = len;
13 } else {