[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140410.214254.1339000250746969664.davem@davemloft.net>
Date: Thu, 10 Apr 2014 21:42:54 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: fw@...len.de
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH v2] net: core: don't account for udp header size when
computing seglen
From: Florian Westphal <fw@...len.de>
Date: Wed, 9 Apr 2014 10:28:50 +0200
> In case of tcp, gso_size contains the tcpmss.
>
> For UFO (udp fragmentation offloading) skbs, gso_size is the fragment
> payload size, i.e. we must not account for udp header size.
>
> Otherwise, when using virtio drivers, a to-be-forwarded UFO GSO packet
> will be needlessly fragmented in the forward path, because we think its
> individual segments are too large for the outgoing link.
>
> Fixes: fe6cc55f3a9a053 ("net: ip, ipv6: handle gso skbs in forwarding path")
> Cc: Eric Dumazet <eric.dumazet@...il.com>
> Reported-by: Tobias Brunner <tobias@...ongswan.org>
> Signed-off-by: Florian Westphal <fw@...len.de>
> ---
> changes since v1:
> - update 'Fixes:' tag.
Applied and queued up for -stable, thanks!
--
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