[PATCH] vhost: fix offset while mmaping log base address

Maxime Coquelin maxime.coquelin at redhat.com
Thu Sep 19 14:04:20 CEST 2024



On 7/8/24 08:57, BillXiang wrote:
> From: BillXiang <xiangwencheng at dayudpu.com>
> 
> For sanity the offset should be the last parameter of mmap.
> 
> Fixes: fbc4d24 ("vhost: fix offset while mmaping log base address")
> Signed-off-by: BillXiang <xiangwencheng at dayudpu.com>
> ---
>   lib/vhost/vhost_user.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied to next-virtio/for-next-net.

Thanks,
Maxime



More information about the dev mailing list