Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1333300

Re: [PATCHv2] vsock: Fix blocking ops call in prepare_to_wait

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCHv2] vsock: Fix blocking ops call in prepare_to_wait
Date 2016-02-13 12:00 +0100
Message-ID <r1G5I-3Bz-9@gated-at.bofh.it> (permalink)
References <qYxij-5PO-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCHv2] vsock: Fix blocking ops call in prepare_to_wait David Miller <davem@davemloft.net> - 2016-02-13 12:00 +0100

csiph-web