Page MenuHomeFreeBSD

Change the SOCKBUF_LOCK calls to use the more refined SOCK_XXXBUF_LOCK/UNLOCK.
ClosedPublic

Authored by rrs on Nov 13 2024, 7:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 11:45 AM
Unknown Object (File)
Wed, Nov 20, 6:39 AM
Unknown Object (File)
Wed, Nov 20, 5:39 AM
Unknown Object (File)
Wed, Nov 20, 3:29 AM
Unknown Object (File)
Tue, Nov 19, 12:19 PM
Unknown Object (File)
Mon, Nov 18, 4:28 PM
Unknown Object (File)
Mon, Nov 18, 3:00 PM
Unknown Object (File)
Nov 15 2024, 5:39 PM

Details

Summary

The socket buffer locking used to be standard on SOCKBUF_LOCK/UNLOCK. But we are now
moving to a more elegant SOCK_SENDBUF_LOCK/UNLOCK and SOCK_RECVBUF_LOCK/UNLOCK.
Lets get BBR and Rack to use these updated macros.

Test Plan

After conversion lets run tests to make sure everything works aka run data through both the TCP Test suite as well as do live transfers on the Big-I with both BBR and Rack and make sure life is good :)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable