The sbreserve() works only on protocol-independent parts of the sockbuf,
but sbrelease() also clears the generic sockbuf mbuf chain. Calling the
latter to undo changes done by the former is not correct. The new
function is the right thing.
Details
Details
- Reviewers
markj - Group Reviewers
network - Commits
- rG67c1c4dfd1cc: sockbuf: provide sbunreserve_locked() which is a complement to sbreserve()
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
The sbreserve() works only on protocol-independent parts of the sockbuf
Typo, soreserve().