diff options
author | Benoît Ganne <bganne@cisco.com> | 2021-02-18 10:34:33 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-02-23 10:01:15 +0000 |
commit | aa80f07209d85e3fa32d7c404f2d55cf97cf343f (patch) | |
tree | a75591860ff9ae3507f2c97dbf6a79dcf763569f /src/vnet/mpls/mpls_api.c | |
parent | 5fdc47c237b3e370dc18d3ed593ce3bd7c346110 (diff) |
vlib: fix offload flags value reset
When a buffer is freed and re-allocated for a new packet, opaque2 is
not reset, so the offload flags can be set to a stale value.
Make sure the offload flags are reset to the current value on 1st set.
Type: fix
Fixes: 6809538e646bf86c000dc1faba60b0a4157ad898
Change-Id: I4048febedf25b9995dbd080a11495ee7dbe59153
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/mpls/mpls_api.c')
0 files changed, 0 insertions, 0 deletions