[PATCH 2/3] examples/ipsec-secgw: reset crypto operation status
From: Sergio Gonzalez Monroy <hidden>
Date: 2016-08-23 16:59:37
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Sergio Gonzalez Monroy <hidden>
Date: 2016-08-23 16:59:37
Subsystem:
the rest · Maintainer:
Linus Torvalds
Signed-off-by: Sergio Gonzalez Monroy <redacted> --- examples/ipsec-secgw/ipsec.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c
index 1e87d0d..f49143b 100644
--- a/examples/ipsec-secgw/ipsec.c
+++ b/examples/ipsec-secgw/ipsec.c@@ -124,6 +124,7 @@ ipsec_enqueue(ipsec_xform_fn xform_func, struct ipsec_ctx *ipsec_ctx, priv->sa = sa; priv->cop.type = RTE_CRYPTO_OP_TYPE_SYMMETRIC; + priv->cop.status = RTE_CRYPTO_OP_STATUS_NOT_PROCESSED; rte_prefetch0(&priv->sym_cop); priv->cop.sym = &priv->sym_cop;
--
2.5.5