[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180825.174021.1633894476704616364.davem@davemloft.net>
Date: Sat, 25 Aug 2018 17:40:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jasowang@...hat.com
Cc: mst@...hat.com, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, peterx@...hat.com
Subject: Re: [PATCH net] vhost: correctly check the iova range when waking
virtqueue
From: Jason Wang <jasowang@...hat.com>
Date: Fri, 24 Aug 2018 16:53:13 +0800
> We don't wakeup the virtqueue if the first byte of pending iova range
> is the last byte of the range we just got updated. This will lead a
> virtqueue to wait for IOTLB updating forever. Fixing by correct the
> check and wake up the virtqueue in this case.
>
> Fixes: 6b1e6cc7855b ("vhost: new device IOTLB API")
> Reported-by: Peter Xu <peterx@...hat.com>
> Signed-off-by: Jason Wang <jasowang@...hat.com>
> ---
> The patch is needed for -stable.
Applied and queued up for -stable, thanks Jason.
Powered by blists - more mailing lists