summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/dpdk/ipsec/esp_decrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/devices/dpdk/ipsec/esp_decrypt.c')
-rw-r--r--src/vnet/devices/dpdk/ipsec/esp_decrypt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/devices/dpdk/ipsec/esp_decrypt.c b/src/vnet/devices/dpdk/ipsec/esp_decrypt.c
index 53b2d122e9f..760076093cb 100644
--- a/src/vnet/devices/dpdk/ipsec/esp_decrypt.c
+++ b/src/vnet/devices/dpdk/ipsec/esp_decrypt.c
@@ -174,6 +174,8 @@ dpdk_esp_decrypt_node_fn (vlib_main_t * vm,
}
}
+ sa0->total_data_size += b0->current_length;
+
if (PREDICT_FALSE(sa0->integ_alg == IPSEC_INTEG_ALG_NONE) ||
PREDICT_FALSE(sa0->crypto_alg == IPSEC_CRYPTO_ALG_NONE))
{