K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-26T12:00:56.538610Z K 7 svn:log V 436 Remove two mbuf chain traversals from sendfile(). The first one is a short traversal of of headers chain done in m_last(), and the second one is m_length() done right before the socket write. To achieve this, store header mbuf in *mh and its tail in *mhtail. Stack the *mh and *m out of the inner loop, before the socket write. While here, simplify the headers handling block of code. Sponsored by: Netflix Sponsored by: Nginx, Inc. END