Page MenuHomeFreeBSD

mbuf(9): unbreak m_fragment()
ClosedPublic

Authored by avos on Nov 5 2015, 10:29 PM.
Tags
None
Referenced Files
F86839195: D4090.id34038.vs9973.diff
Wed, Jun 26, 9:16 AM
Unknown Object (File)
Sat, Jun 22, 11:44 PM
Unknown Object (File)
May 24 2024, 4:46 PM
Unknown Object (File)
May 18 2024, 5:23 AM
Unknown Object (File)
May 17 2024, 11:39 PM
Unknown Object (File)
Apr 10 2024, 1:18 PM
Unknown Object (File)
Jan 21 2024, 9:17 PM
Unknown Object (File)
Dec 23 2023, 6:47 AM
Subscribers

Details

Summary
  • Fix it by replacing m_cat() with m_prev->m_next = m_new;

(m_cat() will try to append data - as a result, now this function does nothing).

  • Move constants out of the loop.
Test Plan

Tested with D4077 (+ some output)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avos retitled this revision from to mbuf(9): unbreak m_fragment().
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added reviewers: adrian, glebius.
avos set the repository for this revision to rS FreeBSD src repository - subversion.
This revision was automatically updated to reflect the committed changes.