[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130516.144402.851927775820198853.davem@davemloft.net>
Date: Thu, 16 May 2013 14:44:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, maze@...gle.com, therbert@...gle.com,
ncardwell@...gle.com, ycheng@...gle.com
Subject: Re: [PATCH] tcp: gso: do not generate out of order packets
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 15 May 2013 18:38:01 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> GSO TCP handler has following issues :
>
> 1) ooo_okay from original GSO packet is duplicated to all segments
> 2) segments (but the last one) are orphaned, so transmit path can not
> get transmit queue number from the socket. This happens if GSO
> segmentation is done before stacked device for example.
>
> Result is we can send packets from a given TCP flow to different TX
> queues (if using multiqueue NICS). This generates OOO problems and
> spurious SACK & retransmits.
>
> Fix this by keeping socket pointer set for all segments.
>
> This means that every segment must also have a destructor, and the
> original gso skb truesize must be split on all segments, to keep
> precise sk->sk_wmem_alloc accounting.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists