[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171008.101307.2029948180506638787.davem@davemloft.net>
Date: Sun, 08 Oct 2017 10:13:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: alexey.kodanev@...cle.com
Cc: netdev@...r.kernel.org, steffen.klassert@...unet.com,
alexander.h.duyck@...el.com
Subject: Re: [PATCH v2] gso: fix payload length when gso_size is zero
From: Alexey Kodanev <alexey.kodanev@...cle.com>
Date: Fri, 6 Oct 2017 19:02:35 +0300
> When gso_size reset to zero for the tail segment in skb_segment(), later
> in ipv6_gso_segment(), __skb_udp_tunnel_segment() and gre_gso_segment()
> we will get incorrect results (payload length, pcsum) for that segment.
> inet_gso_segment() already has a check for gso_size before calculating
> payload.
>
> The issue was found with LTP vxlan & gre tests over ixgbe NIC.
>
> Fixes: 07b26c9454a2 ("gso: Support partial splitting at the frag_list pointer")
> Signed-off-by: Alexey Kodanev <alexey.kodanev@...cle.com>
> ---
> v2: also added skb_is_gso to gre_gso_segment() and __skb_udp_tunnel_segment()
>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists