[Bug 232210] sendfile(2) doesn't percolate up issues with copyout(9) related to sbytes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 13 16:28:41 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232210

Gleb Smirnoff <glebius at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #2 from Gleb Smirnoff <glebius at FreeBSD.org> ---
That's a good catch, but I don't fully agree on the patch. Some return values
of sendfile aren't errors, and the patch doesn't cover them. If sendfile
returns EAGAIN, which is normal for non-blocking socket, we again ignore
copyout error. I think we should take in copyout error always.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list