mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linux(4): Return EAGAIN instead of ENOBUFS for non-blocking sockets in pwritev
MFC after: 1 month
This commit is contained in:
parent
4231b825ac
commit
dfbb3e2aae
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue