]> git.baikalelectronics.ru Git - kernel.git/commit
vmxnet3: use correct hdr reference when packet is encapsulated
authorRonak Doshi <doshir@vmware.com>
Fri, 29 May 2020 02:53:52 +0000 (19:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2020 19:13:49 +0000 (12:13 -0700)
commit6ca6e8193d5f9e52358c30c1cef5617b7909c16b
tree54331f8695a80ce5ac9df2e9bdb921692585b46e
parent87d036d8726508adb5f6410381c35a064851c374
vmxnet3: use correct hdr reference when packet is encapsulated

'Commit 72efc4f3621c ("vmxnet3: add geneve and vxlan tunnel offload
support")' added support for encapsulation offload. However, while
preparing inner tso packet, it uses reference to outer ip headers.

This patch fixes this issue by using correct reference for inner
headers.

Fixes: 72efc4f3621c ("vmxnet3: add geneve and vxlan tunnel offload support")
Signed-off-by: Ronak Doshi <doshir@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c