On 3/9/23 12:36, Maxime Coquelin wrote:
When handling VHOST_USER_SET_MEM_TABLE request ending
up in changing existing memory map, a device's memory
pointer may ends up being dereference while being NULL in
IOTLB cache flush function.

Coverity issue: 383646
Fixes: dea092d0addb ("vhost: fix madvise arguments alignment")

Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>
---
  lib/vhost/vhost_user.c | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)


Applied to dpdk-next-virtio/main.

Thanks,
Maxime

Reply via email to