lkml.org 
[lkml]   [2016]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCHv2] vsock: Fix blocking ops call in prepare_to_wait
From
From: Laura Abbott <labbott@fedoraproject.org>
Date: Thu, 4 Feb 2016 10:50:45 -0800

> We receoved a bug report from someone using vmware:
...
> transport->stream_enqueue may call copy_to_user so it should
> not be called inside a prepare_to_wait. Narrow the scope of
> the prepare_to_wait to avoid the bad call. This also applies
> to vsock_stream_recvmsg as well.
>
> Reported-by: Vinson Lee <vlee@freedesktop.org>
> Tested-by: Vinson Lee <vlee@freedesktop.org>
> Signed-off-by: Laura Abbott <labbott@fedoraproject.org>

Applied.

\
 
 \ /
  Last update: 2016-02-13 12:21    [W:0.042 / U:1.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site