[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200422092514.GW13121@gauss3.secunet.de>
Date: Wed, 22 Apr 2020 11:25:14 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Xin Long <lucien.xin@...il.com>
CC: <netdev@...r.kernel.org>, Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Sabrina Dubroca <sd@...asysnail.net>
Subject: Re: [PATCHv2 ipsec] esp4: support ipv6 nexthdrs process for beet gso
segment
On Sun, Apr 19, 2020 at 04:11:02PM +0800, Xin Long wrote:
> For beet mode, when it's ipv6 inner address with nexthdrs set,
> the packet format might be:
>
> ----------------------------------------------------
> | outer | | dest | | | ESP | ESP |
> | IP hdr | ESP | opts.| TCP | Data | Trailer | ICV |
> ----------------------------------------------------
>
> Before doing gso segment in xfrm4_beet_gso_segment(), the same
> thing is needed as it does in xfrm6_beet_gso_segment() in last
> patch 'esp6: support ipv6 nexthdrs process for beet gso segment'.
>
> v1->v2:
> - remove skb_transport_offset(), as it will always return 0
> in xfrm6_beet_gso_segment(), thank Sabrina's check.
>
> Fixes: 384a46ea7bdc ("esp4: add gso_segment for esp4 beet mode")
> Signed-off-by: Xin Long <lucien.xin@...il.com>
Also applied, thanks!
Powered by blists - more mailing lists