> > When running the qos_sched app with separated worker and Tx threads, the > > app would seg-fault after a short time of handling packets. The root > > cause of this turns out to be an incorrect array index when freeing > > unsent packets post-Tx. Rather than freeing packets using the "nb_tx" > > value i.e. where transmission failed, the function was freeing packets > > using the "nb_pkts" value, i.e. going beyond the number of packets > > previously received into the buffer. > > > > Fixes: 39b25117c40b ("examples/qos_sched: remove Tx buffering") > > > > Reported-by: Megha Ajmera <megha.ajm...@intel.com> > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> > > Acked-by: Cristian Dumitrescu <cristian.dumitre...@intel.com>
Applied, thanks.