> -----Original Message----- > From: Jiang, Cheng1 <[email protected]> > Sent: Thursday, July 15, 2021 5:51 PM > To: [email protected]; Xia, Chenbo <[email protected]> > Cc: [email protected]; Hu, Jiayu <[email protected]>; Yang, YvonneX > <[email protected]>; Jiang, Cheng1 <[email protected]>; > [email protected] > Subject: [PATCH v2] vhost: fix index overflow for packed ring in async vhost > > We introduced some new indexes in packed ring of async vhost. They > will eventually overflow and lead to errors if the ring size is not > a power of 2. This patch is to check and keep these indexes within a > reasonable range. > > Fixes: 873e8dad6f49 ("vhost: support packed ring in async datapath") > Cc: [email protected] > > Signed-off-by: Cheng Jiang <[email protected]> > --- > -- > 2.29.2
Applied to next-virtio/main, thanks.

