> -Original Message-
> From: Maxime Coquelin
> Sent: Wednesday, September 23, 2020 5:22 PM
> To: Fu, Patrick ; dev@dpdk.org; Xia, Chenbo
>
> Cc: Wang, Zhihong ; Jiang, Cheng1
>
> Subject: Re: [PATCH v1 3/4] vhost: fix async vec buf overrun
>
> s/buf/buffer/
>
> On 9/11/20 3:53 AM, Pa
s/buf/buffer/
On 9/11/20 3:53 AM, Patrick Fu wrote:
> Add check on the async vec buffer usage to prevent the buf overrun.
s/vec/vector/
s/buf/buffer/
> If vec buf is not sufficient to prepare for next packet's iov
same here
> creation, an async transfer will be triggered immediately to free
Add check on the async vec buffer usage to prevent the buf overrun.
If vec buf is not sufficient to prepare for next packet's iov
creation, an async transfer will be triggered immediately to free
the vec buf.
Fixes: 78639d54563a ("vhost: introduce async enqueue registration API")
Signed-off-by: P
3 matches
Mail list logo