ipsec: fix debug assert with ipv6 checksum offload 50/43050/2
authorBenoît Ganne <[email protected]>
Wed, 28 May 2025 12:09:45 +0000 (14:09 +0200)
committerMohammed HAWARI <[email protected]>
Mon, 2 Jun 2025 08:40:30 +0000 (08:40 +0000)
commitd536ed0c34378c61daec1ef32fe8d93333df2dde
tree7260e267018ea614b627d9d1507868d12806abb4
parente82ba2f5ef80d43f3b154bd555ffe44bc2b9311d
ipsec: fix debug assert with ipv6 checksum offload

Since adding ASSERT() for checksum offload flags we need to make sure
the relevant flags are set before calling vnet_buffer_offload_flags_set()

Type: fix
Fixes: 7e00099480ab4d2c9353b8b5ed8d516e33abdd24

Change-Id: I521ae77f1d2e6a73deef5168473dd3e857257101
Signed-off-by: Benoît Ganne <[email protected]>
src/vnet/ipsec/esp_encrypt.c