Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
crypto: introduce async crypto infra
[vpp.git]
/
src
/
plugins
/
crypto_ipsecmb
/
ipsecmb.c
diff --git
a/src/plugins/crypto_ipsecmb/ipsecmb.c
b/src/plugins/crypto_ipsecmb/ipsecmb.c
index
14d618c
..
3c5495a
100644
(file)
--- a/
src/plugins/crypto_ipsecmb/ipsecmb.c
+++ b/
src/plugins/crypto_ipsecmb/ipsecmb.c
@@
-459,6
+459,10
@@
crypto_ipsecmb_key_handler (vlib_main_t * vm, vnet_crypto_key_op_t kop,
clib_mem_free_s (imbm->key_data[idx]);
}
+ /** TODO: add linked alg support **/
+ if (key->type == VNET_CRYPTO_KEY_TYPE_LINK)
+ return;
+
kd = imbm->key_data[idx] = clib_mem_alloc_aligned (ad->data_size,
CLIB_CACHE_LINE_BYTES);