[PATCH] net/virtio: fix Tx queue 0 override by queue 128

Xia, Chenbo chenbo.xia at intel.com
Thu Jan 27 06:12:49 CET 2022


> -----Original Message-----
> From: Xueming Li <xuemingl at nvidia.com>
> Sent: Thursday, December 2, 2021 9:51 PM
> To: dev at dpdk.org
> Cc: xuemingl at nvidia.com; stable at dpdk.org; Maxime Coquelin
> <maxime.coquelin at redhat.com>; Xia, Chenbo <chenbo.xia at intel.com>
> Subject: [PATCH] net/virtio: fix Tx queue 0 override by queue 128
> 
> Both Rx queue and Tx queue are VirtQ in virtio, VQ index is 256 for Tx
> queue 128. Uint8 type of TxQ VQ index overflows and overrides Tx queue 0
> data.
> 
> This patch fixes VQ index type with uint16 type.
> 
> Fixes: c1f86306a026 ("virtio: add new driver")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>
> ---
> --
> 2.34.0

Applied to next-virtio/main, thanks




More information about the stable mailing list