vmxnet3: correctly report encapsulated LRO packet
authorRonak Doshi <doshir@vmware.com>
Wed, 30 Nov 2022 08:21:46 +0000 (00:21 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Dec 2022 10:32:01 +0000 (11:32 +0100)
commit80c69b31aa5b4586adaf29f4d1694111d3e26951
tree4edf004907fa8cb8c89a5c97a6e82b0b9bdc63cd
parent575a6266f63dbb3b8eb1da03671451f0d81b8034
vmxnet3: correctly report encapsulated LRO packet

[ Upstream commit 40b8c2a1af03ba3e8da55a4490d646bfa845e71a ]

Commit dacce2be3312 ("vmxnet3: add geneve and vxlan tunnel offload
support") added support for encapsulation offload. However, the
pathc did not report correctly the encapsulated packet which is
LRO'ed by the hypervisor.

This patch fixes this issue by using correct callback for the LRO'ed
encapsulated packet.

Fixes: dacce2be3312 ("vmxnet3: add geneve and vxlan tunnel offload support")
Signed-off-by: Ronak Doshi <doshir@vmware.com>
Acked-by: Guolin Yang <gyang@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/vmxnet3/vmxnet3_drv.c