Re: [dpdk-dev] [PATCH] vhost: fix double read of descriptor flags

2018-12-11 Thread Maxime Coquelin
On 12/5/18 4:09 PM, Ilya Maximets wrote: Flags could be updated in a separate process leading to the inconsistent check. Additionally, read marked as 'volatile' to highlight the shared nature of the variable and avoid such issues in the future. Fixes: d3211c98c456 ("vhost: add helpers for pa

Re: [dpdk-dev] [PATCH] vhost: fix double read of descriptor flags

2018-12-11 Thread Maxime Coquelin
On 12/5/18 4:09 PM, Ilya Maximets wrote: Flags could be updated in a separate process leading to the inconsistent check. Additionally, read marked as 'volatile' to highlight the shared nature of the variable and avoid such issues in the future. Fixes: d3211c98c456 ("vhost: add helpers for pa