> >
> > 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: [email protected]
> >
> > Signed-off-by: Ruifeng Wang <[email protected]>
> > Reviewed-by: Phil Yang <[email protected]>
> > Reviewed-by: Gavin Hu <[email protected]>
> > ---
>
> 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 <[email protected]>
> Acked-by: Konstantin Ananyev <[email protected]>
>
> > 2.17.1