diff options
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r-- | src/plugins/dpdk/cryptodev/cryptodev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/dpdk/cryptodev/cryptodev.c b/src/plugins/dpdk/cryptodev/cryptodev.c index 246951d396c..d52fa407ec5 100644 --- a/src/plugins/dpdk/cryptodev/cryptodev.c +++ b/src/plugins/dpdk/cryptodev/cryptodev.c @@ -881,6 +881,7 @@ cryptodev_get_common_capabilities () const struct rte_cryptodev_capabilities *cap; const struct rte_cryptodev_capabilities *dev_caps; + clib_memset (&tmp_cap, 0, sizeof (cryptodev_capability_t)); if (vec_len (cmt->cryptodev_inst) == 0) return; dev_inst = vec_elt_at_index (cmt->cryptodev_inst, 0); |