[dpdk-dev] [PATCH 10/21] vhost: initialize vrings IOTLB caches

Remy Horton remy.horton at intel.com
Mon Sep 4 15:57:59 CEST 2017


On 31/08/2017 10:50, Maxime Coquelin wrote:
[..]
> +reset_vring_queue(struct virtio_net *dev, uint32_t vring_idx)
>  {
> +	struct vhost_virtqueue *vq = dev->virtqueue[vring_idx];
>  	int callfd;

Probably ought to have a bounds check on vring_idx..


More information about the dev mailing list