> -----Original Message----- > From: Wang, Xiao W <xiao.w.w...@intel.com> > Sent: Monday, June 21, 2021 4:21 PM > To: maxime.coque...@redhat.com; Xia, Chenbo <chenbo....@intel.com>; > david.march...@redhat.com > Cc: Jiang, Cheng1 <cheng1.ji...@intel.com>; dev@dpdk.org; Wang, Xiao W > <xiao.w.w...@intel.com>; sta...@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: sta...@dpdk.org > > Signed-off-by: Xiao Wang <xiao.w.w...@intel.com> > 2.15.1
Applied to next-virtio/main, thanks.