diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2021-01-13 13:45:45 +0100 |
---|---|---|
committer | Mohammed Hawari <mohammed@hawari.fr> | 2021-01-19 17:09:26 +0100 |
commit | 0b374922d236cada6efddca170990737accacf8a (patch) | |
tree | 7fa382ffe1b546e046935f4c8a4ed7799fb58f4c /src/vppinfra/tw_timer_template.c | |
parent | 66b80310fb14f24a83979055895492ff7e061492 (diff) |
avf: fix l2_len for csum offload
Use vlib_buffer_t::current_data instead of
vnet_buffer_opaque_t::l2_hdr_offset to compute l2_len for checksum
offload (l2_hdr_offset might be invalid if packet originates from an L3
interface)
Change-Id: I2031ea6fd6a7af4b6e186751e119ebd6161641b5
Type: fix
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
(cherry picked from commit 533ac64330436752f82477973e4587e2197c4719)
Diffstat (limited to 'src/vppinfra/tw_timer_template.c')
0 files changed, 0 insertions, 0 deletions