Re: [dpdk-dev] [PATCH] ipsec: packet with null encryption can cause a segfault

2019-06-26 Thread Akhil Goyal
> > mbuf_get_seg_ofs() doesn't handle the case when requested offset > equals to packet length. Though it is a valid situation for > algorithms with no ICV data (IPsec with null encryption as an example). > > Fixes: 12a0423236a9 ("ipsec: support multi-segment packets") > > Signed-off-by: Konstan

[dpdk-dev] [PATCH] ipsec: packet with null encryption can cause a segfault

2019-06-25 Thread Konstantin Ananyev
mbuf_get_seg_ofs() doesn't handle the case when requested offset equals to packet length. Though it is a valid situation for algorithms with no ICV data (IPsec with null encryption as an example). Fixes: 12a0423236a9 ("ipsec: support multi-segment packets") Signed-off-by: Konstantin Ananyev ---