diff options
author | Simon Zhang <yuwei1.zhang@intel.com> | 2019-01-17 10:32:48 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-03-13 13:59:42 +0000 |
commit | 3e59d2eb20e73e0216c12964159c0a708482c548 (patch) | |
tree | fd36c862cf3eb034bad45c8269e5479e5cc1d426 /src/plugins/dpdk | |
parent | 03982d89244ff96830edad2c194bcd31b7d70c52 (diff) |
Fix ASSERT usage issue in cryptodev
Change-Id: I764c6565f96e0cb9078503e54e3cf3bb3fd9ff3f
Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
(cherry picked from commit a704f5b2a97346eaaeec466cda6169406a313490)
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r-- | src/plugins/dpdk/ipsec/ipsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/ipsec/ipsec.c b/src/plugins/dpdk/ipsec/ipsec.c index f0832ae4549..ade454f22cc 100644 --- a/src/plugins/dpdk/ipsec/ipsec.c +++ b/src/plugins/dpdk/ipsec/ipsec.c @@ -1049,7 +1049,7 @@ dpdk_ipsec_process (vlib_main_t * vm, vlib_node_runtime_t * rt, dpdk_ipsec_check_support, add_del_sa_session); int rv = ipsec_select_esp_backend (im, idx); - ASSERT (rv); + ASSERT (rv == 0); vlib_node_t *node = vlib_get_node_by_name (vm, (u8 *) "dpdk-crypto-input"); ASSERT (node); |