Re: [PATCH] virtio_vdpa: reject invalid vq indices

2021-07-05 Thread Stefano Garzarella
On Thu, Jul 01, 2021 at 01:46:52PM +0200, Vincent Whitchurch wrote: Do not call vDPA drivers' callbacks with vq indicies larger than what the drivers indicate that they support. vDPA drivers do not bounds check the indices. Signed-off-by: Vincent Whitchurch --- drivers/virtio/virtio_vdpa.c |

Re: [PATCH] virtio_vdpa: reject invalid vq indices

2021-07-01 Thread Jason Wang
在 2021/7/1 下午7:46, Vincent Whitchurch 写道: Do not call vDPA drivers' callbacks with vq indicies larger than what the drivers indicate that they support. vDPA drivers do not bounds check the indices. Signed-off-by: Vincent Whitchurch Acked-by: Jason Wang ---

[PATCH] virtio_vdpa: reject invalid vq indices

2021-07-01 Thread Vincent Whitchurch
Do not call vDPA drivers' callbacks with vq indicies larger than what the drivers indicate that they support. vDPA drivers do not bounds check the indices. Signed-off-by: Vincent Whitchurch --- drivers/virtio/virtio_vdpa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git