X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fipsec%2Fesp_decrypt.c;h=0cf31ffb00003f5d0f91ed6b6dced8bf70fe194c;hb=eba31ecebed1a7d168da17194cab7a8955761f2b;hp=5a3ccdcacd94f4acd995897d0c4fda1c36bf608c;hpb=684586786e98bc779e269c0d879a2a4d3f1f4bce;p=vpp.git diff --git a/src/vnet/ipsec/esp_decrypt.c b/src/vnet/ipsec/esp_decrypt.c index 5a3ccdcacd9..0cf31ffb000 100644 --- a/src/vnet/ipsec/esp_decrypt.c +++ b/src/vnet/ipsec/esp_decrypt.c @@ -193,7 +193,9 @@ esp_decrypt_inline (vlib_main_t * vm, } } - sa0->total_data_size += i_b0->current_length; + vlib_increment_combined_counter + (&ipsec_sa_counters, thread_index, sa_index0, + 1, i_b0->current_length); if (PREDICT_TRUE (sa0->integ_alg != IPSEC_INTEG_ALG_NONE)) {