examples/ipsec-gw: fix gcc 10 maybe-uninitialized warning
[dpdk.git] / examples / ipsec-secgw / ipsec_process.c
index bb2f2b8..6d3a3c9 100644 (file)
@@ -126,6 +126,7 @@ sa_group(void *sa_ptr[], struct rte_mbuf *pkts[],
        void * const nosa = &spi;
 
        sa = nosa;
+       grp[0].m = pkts;
        for (i = 0, n = 0; i != num; i++) {
 
                if (sa != sa_ptr[i]) {