Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'io_uring-5.10-2020-12-05' of git://git.kernel.dk/linux-block

Pull io_uring fix from Jens Axboe:
"Just a small fix this time, for an issue with 32-bit compat apps and
buffer selection with recvmsg"

* tag 'io_uring-5.10-2020-12-05' of git://git.kernel.dk/linux-block:
io_uring: fix recvmsg setup with compat buf-select

+2 -1
+2 -1
fs/io_uring.c
··· 4499 4499 return -EFAULT; 4500 4500 if (clen < 0) 4501 4501 return -EINVAL; 4502 - sr->len = iomsg->iov[0].iov_len; 4502 + sr->len = clen; 4503 + iomsg->iov[0].iov_len = clen; 4503 4504 iomsg->iov = NULL; 4504 4505 } else { 4505 4506 ret = __import_iovec(READ, (struct iovec __user *)uiov, len,