diff options
author | Damjan Marion <damarion@cisco.com> | 2019-03-19 15:38:40 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-03-26 10:31:01 +0000 |
commit | c59b9a26ed9a6bc083db2868b6993add6fd2ba5b (patch) | |
tree | 70496bdc4ad01ab9e11cd07913f2aec681fac324 /src/vnet/ipsec/ipsec.c | |
parent | 8e22054209ae9c4f08dae16f1aff910d8c8d0b76 (diff) |
ipsec: esp-encrypt rework
Change-Id: Ibe7f806b9d600994e83c9f1be526fdb0a1ef1833
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec.c')
-rw-r--r-- | src/vnet/ipsec/ipsec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec.c b/src/vnet/ipsec/ipsec.c index ac9e139fd85..92210493e78 100644 --- a/src/vnet/ipsec/ipsec.c +++ b/src/vnet/ipsec/ipsec.c @@ -316,6 +316,8 @@ ipsec_init (vlib_main_t * vm) i->op_type = VNET_CRYPTO_OP_SHA512_HMAC; i->trunc_size = 32; + vec_validate_aligned (im->ptd, vec_len (vlib_mains), CLIB_CACHE_LINE_BYTES); + return 0; } |