Re: [PATCH v2 net-next] vmxnet3: use correct tcp hdr length when packet is encapsulated
From: David Miller
Date: Mon Aug 10 2020 - 15:30:35 EST
From: Ronak Doshi <doshir@xxxxxxxxxx>
Date: Mon, 10 Aug 2020 09:55:55 -0700
> Commit dacce2be3312 ("vmxnet3: add geneve and vxlan tunnel offload
> support") added support for encapsulation offload. However, while
> calculating tcp hdr length, it does not take into account if the
> packet is encapsulated or not.
>
> This patch fixes this issue by using correct reference for inner
> tcp header.
>
> Fixes: dacce2be3312 ("vmxnet3: add geneve and vxlan tunnel offload support")
> Signed-off-by: Ronak Doshi <doshir@xxxxxxxxxx>
> Acked-by: Guolin Yang <gyang@xxxxxxxxxx>
Applied, thanks.