Page MenuHomeFreeBSD

sockbuf: provide sbunreserve_locked() which is a complement to sbreserve()
AcceptedPublic

Authored by glebius on Fri, Mar 14, 6:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 18, 2:56 PM
Unknown Object (File)
Sun, Mar 16, 9:18 PM
Unknown Object (File)
Sun, Mar 16, 5:55 AM
Unknown Object (File)
Sun, Mar 16, 4:10 AM
Unknown Object (File)
Sun, Mar 16, 4:02 AM
Subscribers

Details

Reviewers
markj
Group Reviewers
network
Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62923
Build 59807: arc lint + arc unit