[dpdk-stable] [PATCH v1] test: fix ipsec unit test segfault

Akhil Goyal akhil.goyal at nxp.com
Wed Mar 25 20:03:57 CET 2020


> >
> > Segfault was observed when running ipsec unit test:
> >
> >  + TestCase [10] : test_ipsec_replay_inb_repeat_null_null_wrapper
> >                    succeeded
> >  + TestCase [11] : test_ipsec_replay_inb_inside_burst_null_null_wrapper
> >                    succeeded
> >  + TestCase [12] : test_ipsec_crypto_inb_burst_2sa_null_null_wrapper
> >                    succeeded
> >  + TestCase [13] : test_ipsec_crypto_inb_burst_2sa_4grp_null_null_wrapper
> >                    succeeded
> > Segmentation fault
> >
> > Data corruption happens due to incorrect destroy of session. Security
> > session needs process different from crypto session.
> >
> > Destroy corresponding sessions according to different security actions.
> >
> > Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Ruifeng Wang <ruifeng.wang at arm.com>
> > Reviewed-by: Phil Yang <phil.yang at arm.com>
> > Reviewed-by: Gavin Hu <gavin.hu at arm.com>
> > ---
> 
> Good catch, thanks for the fix.
> As a nit caption should probably be: "test/ipsec: fix ..."

Fixed
Applied to dpdk-next-crypto

Thanks.
> 
> Tested-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> 
> > 2.17.1



More information about the stable mailing list