> This patch initializes with 0 rte_ipsec_sa_prm inside the ipsec_sa struct.
> Before it was passed uninitialized to rte_ipsec_sa_init(),
> which does not check whether prm->ipsec_xform.esn.value is greater
> than sa->sqn_mask.
> 
> Bugzilla ID: 1023
> Fixes: f7f3ac6dcbe2 ("test/ipsec: add performance cases")
> Cc: savinay.dharma...@intel.com
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Vladimir Medvedkin <vladimir.medved...@intel.com>
Please fix compilation issues reported by CI

../app/test/test_ipsec_perf.c: In function 'test_libipsec_perf':
../app/test/test_ipsec_perf.c:595:9: error: missing braces around initializer 
[-Werror=missing-braces]
  struct ipsec_sa sa_out = { 0 };
         ^
../app/test/test_ipsec_perf.c:595:9: error: (near initialization for 
'sa_out.ss') [-Werror=missing-braces]
../app/test/test_ipsec_perf.c:596:9: error: missing braces around initializer 
[-Werror=missing-braces]
  struct ipsec_sa sa_in = { 0 };
         ^
../app/test/test_ipsec_perf.c:596:9: error: (near initialization for 
'sa_in.ss') [-Werror=missing-braces]
cc1: all warnings being treated as errors

Reply via email to