RE: [PATCH v2] examples/ipsec-secgw: fix dequeue count from cryptodev

2024-10-09 Thread Akhil Goyal
> > Subject: [PATCH v2] examples/ipsec-secgw: fix dequeue count from cryptodev > > > > Setting dequeue packet count to max of MAX_PKT_BURST > > size instead of MAX_PKTS. > > > > Dequeue from cryptodev is called with MAX_PKTS but > > routing functi

RE: [PATCH v2] examples/ipsec-secgw: fix dequeue count from cryptodev

2024-09-17 Thread Akhil Goyal
> Subject: [PATCH v2] examples/ipsec-secgw: fix dequeue count from cryptodev > > Setting dequeue packet count to max of MAX_PKT_BURST > size instead of MAX_PKTS. > > Dequeue from cryptodev is called with MAX_PKTS but > routing functions allocate hop/dst_ip arrays of >

[PATCH v2] examples/ipsec-secgw: fix dequeue count from cryptodev

2024-09-13 Thread Tejasree Kondoj
Setting dequeue packet count to max of MAX_PKT_BURST size instead of MAX_PKTS. Dequeue from cryptodev is called with MAX_PKTS but routing functions allocate hop/dst_ip arrays of size MAX_PKT_BURST. This can corrupt stack causing stack smashing error when more than MAX_PKT_BURST packets are returne