source: trunk/packages/xen-common/xen-common/patches/linux-2.6.18/net-gso-5-rcv-mss.patch @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

  • Property svn:mime-type set to text/x-patch
File size: 527 bytes
  • net/ipv4/tcp_input.c

    diff -pruN ../orig-linux-2.6.18/net/ipv4/tcp_input.c ./net/ipv4/tcp_input.c
    old new static void tcp_measure_rcv_mss(struct s 
    127127        /* skb->len may jitter because of SACKs, even if peer
    128128         * sends good full-sized frames.
    129129         */
    130         len = skb->len;
     130        len = skb_shinfo(skb)->gso_size ?: skb->len;
    131131        if (len >= icsk->icsk_ack.rcv_mss) {
    132132                icsk->icsk_ack.rcv_mss = len;
    133133        } else {
Note: See TracBrowser for help on using the repository browser.