> -----Original Message----- > From: Nicolau, Radu > Sent: Tuesday, January 16, 2018 11:02 AM > To: Akhil Goyal <[email protected]>; [email protected] > Cc: De Lara Guarch, Pablo <[email protected]>; > [email protected]; Gonzalez Monroy, Sergio > <[email protected]> > Subject: RE: [PATCH] examples/ipsec-secgw: fix corner case for spi value > > > > > -----Original Message----- > > From: Akhil Goyal [mailto:[email protected]] > > Sent: Thursday, January 11, 2018 11:56 AM > > To: [email protected] > > Cc: De Lara Guarch, Pablo <[email protected]>; > > [email protected]; Gonzalez Monroy, Sergio > > <[email protected]>; Nicolau, Radu > > <[email protected]>; Akhil Goyal <[email protected]> > > Subject: [PATCH] examples/ipsec-secgw: fix corner case for spi value > > > > application is using index 0 of SA table as error, with current value > > of > > IPSEC_SA_MAX_ENTRIES(128) it can not support SA with spi = 128, as it > > uses sa_idx = 0 in the SA table. > > > > With this patch, sa_idx = 0 can also be used. > > > > PS: spi = 0 is an invalid SPI and application throws error for it. > > > > Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample > > application") > > > > Signed-off-by: Akhil Goyal <[email protected]> > > --- > Acked-by: Radu Nicolau <[email protected]>
CC'ing stable ML. Applied to dpdk-next-crypto. Thanks, Pablo

