/[base]
ViewVC logotype

Revision 306685


Jump to revision: Previous Next
Author: glebius
Date: Tue Oct 4 20:26:18 2016 UTC (7 years, 8 months ago)
Changed paths: 2
Log Message:
Merge r306212:
  Fix regression from r297400, which truncates headers in case of low socket
  buffer and put a small optimization for low socket buffer case:

  - Do not hack uio_resid, and let m_uiotombuf() properly take care of it. This
    fixes truncation of headers at low buffer.
  - If headers ate all the space, jump right to the end of the cycle, to
    avoid doing single page I/O and allocating zero length mbuf.
  - Clear hdr_uio only if space is positive, which indicates that all uio
    was copied in.


Changed paths

Path Details
Directorystable/11/ modified , props changed
Directorystable/11/sys/kern/kern_sendfile.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27