[dpdk-dev] [PATCH v5] vhost: check header for legacy dequeue offload

Xia, Chenbo chenbo.xia at intel.com
Tue Jul 20 04:43:32 CEST 2021


> -----Original Message-----
> From: Wang, Xiao W <xiao.w.wang at intel.com>
> Sent: Monday, June 21, 2021 4:21 PM
> To: maxime.coquelin at redhat.com; Xia, Chenbo <chenbo.xia at intel.com>;
> david.marchand at redhat.com
> Cc: Jiang, Cheng1 <cheng1.jiang at intel.com>; dev at dpdk.org; Wang, Xiao W
> <xiao.w.wang at intel.com>; stable at dpdk.org
> Subject: [PATCH v5] vhost: check header for legacy dequeue offload
> 
> When parsing the virtio net header and packet header for dequeue offload,
> we need to perform sanity check on the packet header to ensure:
>   - No out-of-boundary memory access.
>   - The packet header and virtio_net header are valid and aligned.
> 
> Fixes: d0cf91303d73 ("vhost: add Tx offload capabilities")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Xiao Wang <xiao.w.wang at intel.com>
> 2.15.1

Applied to next-virtio/main, thanks.


More information about the dev mailing list