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-04-21 14:04:09 +02:00
2021-05-11 15:17:55 +02:00
2021-05-11 15:17:55 +02:00
2021-04-21 14:04:09 +02:00
2021-05-11 15:17:55 +02:00
2021-04-21 14:04:09 +02:00
2021-07-20 14:32:08 +02:00
2021-07-10 10:07:07 +02:00
2021-04-21 14:04:09 +02:00
2021-07-10 11:29:11 +02:00
2021-05-11 15:17:55 +02:00
2021-04-21 14:04:09 +02:00
2021-06-24 15:34:45 +02:00
2021-07-05 15:11:30 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 14:04:09 +02:00
2021-05-10 15:31:42 +02:00
2021-04-21 16:50:46 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 14:04:09 +02:00
2021-07-09 17:22:42 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 14:04:09 +02:00
2021-07-09 22:25:24 +02:00
2021-05-04 22:41:32 +02:00
2021-05-11 15:17:55 +02:00
2021-05-04 09:44:55 +02:00
2021-04-21 14:04:09 +02:00
2021-05-11 15:17:55 +02:00
2021-07-02 19:03:03 +02:00
2021-05-11 15:17:55 +02:00
2021-06-04 09:38:08 +02:00
2021-05-11 15:17:55 +02:00
2021-07-21 13:51:17 +02:00
2021-04-21 14:04:09 +02:00
2021-07-20 17:24:00 +02:00
2021-05-11 15:17:55 +02:00
2021-05-11 15:17:55 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 14:04:09 +02:00
2021-06-24 15:34:45 +02:00
2021-07-09 21:33:01 +02:00
2021-04-21 16:57:18 +02:00
2021-04-21 14:04:09 +02:00
2021-05-11 15:17:55 +02:00
2021-07-09 23:31:54 +02:00
2021-07-07 15:23:53 +02:00
2021-04-21 14:04:09 +02:00
2021-07-21 07:56:13 +02:00
2021-07-02 19:03:03 +02:00