linux/drivers/net/vmxnet3
Ronak Doshi 8a7f280f29 vmxnet3: use correct tcp hdr length when packet is encapsulated
Commit dacce2be33 ("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: dacce2be33 ("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>
2020-08-10 12:09:38 -07:00
..
Makefile vmxnet3: prepare for version 4 changes 2020-05-28 16:26:48 -07:00
upt1_defs.h vmxnet3: add geneve and vxlan tunnel offload support 2020-05-28 16:26:48 -07:00
vmxnet3_defs.h vmxnet3: add geneve and vxlan tunnel offload support 2020-05-28 16:26:48 -07:00
vmxnet3_drv.c vmxnet3: use correct tcp hdr length when packet is encapsulated 2020-08-10 12:09:38 -07:00
vmxnet3_ethtool.c vmxnet3: allow rx flow hash ops only when rss is enabled 2020-06-02 15:12:33 -07:00
vmxnet3_int.h vmxnet3: update to version 4 2020-05-28 16:26:48 -07:00