> -----Original Message----- > From: Wang, Xiao W <[email protected]> > Sent: Monday, June 21, 2021 4:21 PM > To: [email protected]; Xia, Chenbo <[email protected]>; > [email protected] > Cc: Jiang, Cheng1 <[email protected]>; [email protected]; Wang, Xiao W > <[email protected]>; [email protected] > 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: [email protected] > > Signed-off-by: Xiao Wang <[email protected]> > 2.15.1
Applied to next-virtio/main, thanks.

