]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r324673:
authoravos <avos@FreeBSD.org>
Sat, 31 Mar 2018 17:28:30 +0000 (17:28 +0000)
committeravos <avos@FreeBSD.org>
Sat, 31 Mar 2018 17:28:30 +0000 (17:28 +0000)
commitdb82dd0a6a9de84e8678be871ebd8821c9802628
treec65bad4b2605ee841a1601664e0031ea459d576f
parent67843375d3eb84dcb779a957ef89bed98a45a823
MFC r324673:
mbuf(9): unbreak m_fragment()

- Fix it by replacing m_cat() with m_prev->m_next = m_new
(m_cat() will try to append data - as a result, there will be no
fragmentation).
- Move some checks out of the loop.

Some variables were renamed (m_final -> m_first, m_new -> m_last)

Was previously tested with D4077.

Differential Revision: D4090
sys/kern/uipc_mbuf.c