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 <omarapazanadi@xxxxxxxxx> > --- > 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 <stefanha@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature