[dpdk-stable] [PATCH] examples/ipsec-secgw: fix over MTU packet crash

Akhil Goyal akhil.goyal at nxp.com
Fri Sep 27 16:34:46 CEST 2019


> >
> > When sending an encrypted packet which size after encapsulation exceeds
> > MTU, ipsec-secgw application tries to fragment it. If --reassemble
> > option has not been set it results with a segmantation fault, because
> > fragmentation buckets have not been initialized.
> >
> > Fix crashing by adding extra check: if --ressemble option has not been
> > set and packet exceeds MTU after encapsulation - drop it.
> >
> > Fixes: b01d1cd213 ("examples/ipsec-secgw: support fragmentation and
> reassembly")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Marcin Smoczynski <marcinx.smoczynski at intel.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>

Applied to dpdk-next-crypto

Thanks.



More information about the stable mailing list