From a704f5b2a97346eaaeec466cda6169406a313490 Mon Sep 17 00:00:00 2001 From: Simon Zhang Date: Thu, 17 Jan 2019 10:32:48 +0800 Subject: Fix ASSERT usage issue in cryptodev Change-Id: I764c6565f96e0cb9078503e54e3cf3bb3fd9ff3f Signed-off-by: Simon Zhang --- src/plugins/dpdk/ipsec/ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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); -- cgit 1.2.3-korg