Xiao Wang 706ba48665 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@dpdk.org

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2021-07-21 07:56:13 +02:00
..
2021-06-17 09:37:11 +02:00
2021-05-11 15:17:55 +02:00
2021-07-05 15:11:30 +02:00
2021-05-10 15:31:42 +02:00
2021-07-09 17:22:42 +02:00
2021-06-04 09:38:08 +02:00
2021-07-21 13:51:17 +02:00
2021-05-11 15:17:55 +02:00
2021-06-24 15:34:45 +02:00
2021-07-09 23:31:54 +02:00