aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorRonak Doshi <[email protected]>2020-08-10 16:55:55 +0000
committerDavid S. Miller <[email protected]>2020-08-10 19:09:38 +0000
commit8a7f280f29a80f6e0798f5d6e07c5dd8726620fe (patch)
treed068680dba9e82d89b598e7445e97dcf5c5fb28d /tools/lib/bpf/bpf_helpers.h
parentnet: Revert "net: optimize the sockptr_t for unified kernel/user address spaces" (diff)
downloadkernel-8a7f280f29a80f6e0798f5d6e07c5dd8726620fe.tar.gz
kernel-8a7f280f29a80f6e0798f5d6e07c5dd8726620fe.zip
vmxnet3: use correct tcp hdr length when packet is encapsulated
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 <[email protected]> Acked-by: Guolin Yang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions