On 12/14/2018 10:10 PM, Konstantin Ananyev wrote: > diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c > index 04eb8bce8..49da966a3 100644 > --- a/examples/ipsec-secgw/sa.c > +++ b/examples/ipsec-secgw/sa.c > @@ -1164,10 +1164,15 @@ int > inbound_sa_check(struct sa_ctx *sa_ctx, struct rte_mbuf *m, uint32_t sa_idx) > { > struct ipsec_mbuf_metadata *priv; > + struct ipsec_sa *sa; > > priv = get_priv(m); > + sa = priv->sa; > + if (sa != NULL) > + return (sa_ctx->sa[sa_idx].spi == sa->spi); > > - return (sa_ctx->sa[sa_idx].spi == priv->sa->spi); > + RTE_LOG(ERR, IPSEC, "SA not saved in private data\n"); > + return 0; > } I believe this is a fix and not related to this patchset. Should go as a fix and CC to stable.
- Re: [dpdk-dev] [PATCH v4 3/9] ex... Ananyev, Konstantin
- [dpdk-dev] [PATCH v4 4/9] examples/ipsec-secg... Konstantin Ananyev
- Re: [dpdk-dev] [PATCH v4 4/9] examples/ip... Akhil Goyal
- Re: [dpdk-dev] [PATCH v4 4/9] example... Ananyev, Konstantin
- [dpdk-dev] [PATCH v4 5/9] examples/ipsec-secg... Konstantin Ananyev
- [dpdk-dev] [PATCH v4 9/9] doc: update ipsec-s... Konstantin Ananyev
- [dpdk-dev] [PATCH v4 6/9] examples/ipsec-secg... Konstantin Ananyev
- Re: [dpdk-dev] [PATCH v4 6/9] examples/ip... Akhil Goyal
- [dpdk-dev] [PATCH v4 8/9] examples/ipsec-secg... Konstantin Ananyev
- [dpdk-dev] [PATCH v4 7/9] examples/ipsec-secg... Konstantin Ananyev
- Re: [dpdk-dev] [PATCH v4 7/9] examples/ip... Akhil Goyal
- [dpdk-dev] [PATCH v3 2/8] examples/ipsec-secgw: a... Konstantin Ananyev
- [dpdk-dev] [PATCH v3 4/8] examples/ipsec-secgw: f... Konstantin Ananyev
- [dpdk-dev] [PATCH v3 3/8] examples/ipsec-secgw: f... Konstantin Ananyev
- [dpdk-dev] [PATCH v3 1/8] examples/ipsec-secgw: a... Konstantin Ananyev
- [dpdk-dev] [PATCH v3 6/8] examples/ipsec-secgw: m... Konstantin Ananyev
- [dpdk-dev] [PATCH v3 5/8] examples/ipsec-secgw: m... Konstantin Ananyev
- [dpdk-dev] [PATCH v3 7/8] examples/ipsec-secgw: m... Konstantin Ananyev
- [dpdk-dev] [PATCH v3 8/8] examples/ipsec-secgw: a... Konstantin Ananyev
- [dpdk-dev] [PATCH v2 0/7] examples/ipsec-secgw: make a... Konstantin Ananyev
- [dpdk-dev] [PATCH v2 2/7] examples/ipsec-secgw: allow ... Konstantin Ananyev