Thread (6 messages) 6 messages, 3 authors, 2020-11-18

Re: [PATCH net] vhost_vdpa: Return -EFUALT if copy_from_user() fails

From: Jason Wang <jasowang@redhat.com>
Date: 2020-11-18 06:08:33
Also in: kernel-janitors, kvm, virtualization

On 2020/10/26 上午10:59, Jason Wang wrote:
On 2020/10/23 下午11:34, Michael S. Tsirkin wrote:
quoted
On Fri, Oct 23, 2020 at 03:08:53PM +0300, Dan Carpenter wrote:
quoted
The copy_to/from_user() functions return the number of bytes which we
weren't able to copy but the ioctl should return -EFAULT if they fail.

Fixes: a127c5bbb6a8 ("vhost-vdpa: fix backend feature ioctls")
Signed-off-by: Dan Carpenter <redacted>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Needed for stable I guess.

Agree.

Acked-by: Jason Wang <jasowang@redhat.com>

Hi Michael.

I don't see this in your tree, please consider to merge.

Thanks


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help