On Wed, Dec 14, 2016 at 07:24:36PM +0800, Gao feng wrote:
> Multi vsocks may setup the same cid at the same time.
> 
> Signed-off-by: Gao feng <omarapazan...@gmail.com>
> ---
>  drivers/vhost/vsock.c | 25 +++++++++++++++++--------
>  1 file changed, 17 insertions(+), 8 deletions(-)

Good catch, a classic time-of-check-to-time-of-use race condition.

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to