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
@ -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 New Issue
Block a user