[PATCH 2/2] net/e1000: fix igc Tx descriptor ring wrap

Bruce Richardson bruce.richardson at intel.com
Mon Jun 29 17:27:21 CEST 2026


On Mon, Jun 29, 2026 at 06:59:37AM +0100, Song, Yoong Siang wrote:
> On Monday, June 29, 2026 12:51 PM, Shuzo Ichiyoshi <deadcafe.beef at gmail.com> wrote:
> >igc_xmit_pkts() reserves two extra descriptors for launch time.
> >It indexed sw_ring[tx_last + 2] without wrapping the descriptor
> >index first.
> >
> >If tx_last is one of the last two descriptors in the ring, this
> >reads past the software ring. Wrap the index before looking up
> >last_id.
> >
> >Fixes: 2e79349dcd07 ("net/e1000: fix igc launch time calculation")
> >Cc: stable at dpdk.org
> >Signed-off-by: Shuzo Ichiyoshi <deadcafe.beef at gmail.com>
> 
> Reviewed-by: Song Yoong Siang <yoong.siang.song at intel.com>
> 
> Thanks for the fix.
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the stable mailing list