git: dfbb3e2aaec2 - main - linux(4): Return EAGAIN instead of ENOBUFS for non-blocking sockets in pwritev
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Aug 2023 07:37:49 UTC
The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=dfbb3e2aaec2709f3e68a6657bf2a656a4adbe27 commit dfbb3e2aaec2709f3e68a6657bf2a656a4adbe27 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2023-08-20 07:36:31 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2023-08-20 07:36:31 +0000 linux(4): Return EAGAIN instead of ENOBUFS for non-blocking sockets in pwritev MFC after: 1 month --- sys/compat/linux/linux_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 27b6e1a5f77d..32aa64559414 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -1065,7 +1065,7 @@ linux_pwritev(struct thread *td, struct linux_pwritev_args *uap) return (error); error = kern_pwritev(td, uap->fd, auio, offset); free(auio, M_IOV); - return (error); + return (linux_enobufs2eagain(td, uap->fd, error)); } int