direct-io.hg

view patches/linux-2.6.16.33/net-gso-5-rcv-mss.patch @ 12988:e080700efa56

[TOOLS] Fix the build. Clearly demarcate PPC-specific stuff.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Dec 13 10:23:53 2006 +0000 (2006-12-13)
parents 6c2c7ff6265a
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 {