[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Imported patch net-gso-5-rcv-mss.patch from xen-unstable.hg 15200:bd3d6b4c52ec



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1180947923 -3600
# Node ID 69a9c3af24fc0ca4e0d0164d1fb86bbc0805c671
# Parent  fac1f3836a60c612a64efdadb4702f71133533b1
Imported patch net-gso-5-rcv-mss.patch from xen-unstable.hg 15200:bd3d6b4c52ec
---
 net/ipv4/tcp_input.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r fac1f3836a60 -r 69a9c3af24fc net/ipv4/tcp_input.c
--- a/net/ipv4/tcp_input.c      Mon Jun 04 10:05:23 2007 +0100
+++ b/net/ipv4/tcp_input.c      Mon Jun 04 10:05:23 2007 +0100
@@ -127,7 +127,7 @@ static void tcp_measure_rcv_mss(struct s
        /* skb->len may jitter because of SACKs, even if peer
         * sends good full-sized frames.
         */
-       len = skb->len;
+       len = skb_shinfo(skb)->gso_size ?: skb->len;
        if (len >= icsk->icsk_ack.rcv_mss) {
                icsk->icsk_ack.rcv_mss = len;
        } else {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.