Re: [dpdk-dev] [PATCH v4 3/4] vhost: fix async vector buffer overrun

2020-10-14 Thread Maxime Coquelin
On 10/13/20 3:45 AM, Patrick Fu wrote: > Add check on the async vector buffer usage to prevent the buf overrun. > If the unused vector buffer is not sufficient to prepare for next > packet's iov creation, an async transfer will be triggered immediately > to free the vector buffer. > > Fixes: 78

[dpdk-dev] [PATCH v4 3/4] vhost: fix async vector buffer overrun

2020-10-12 Thread Patrick Fu
Add check on the async vector buffer usage to prevent the buf overrun. If the unused vector buffer is not sufficient to prepare for next packet's iov creation, an async transfer will be triggered immediately to free the vector buffer. Fixes: 78639d54563a ("vhost: introduce async enqueue registrati