diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2021-01-13 13:45:45 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-01-19 15:17:26 +0000 |
commit | 533ac64330436752f82477973e4587e2197c4719 (patch) | |
tree | f9aebf18143ddbe7f5106b00f1c40fcbb738ea5a /src/vcl | |
parent | 2c91922ebcaced5b5418d1e0e52dbfc2b6cdc062 (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>
Diffstat (limited to 'src/vcl')
0 files changed, 0 insertions, 0 deletions