Page MenuHomeFreeBSD

Change ctloutput handling for TCP
ClosedPublic

Authored by tuexen on Feb 3 2022, 12:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 28, 2:54 AM
Unknown Object (File)
Nov 28 2025, 9:04 PM
Unknown Object (File)
Nov 27 2025, 3:18 AM
Unknown Object (File)
Nov 25 2025, 1:29 PM
Unknown Object (File)
Nov 24 2025, 10:27 PM
Unknown Object (File)
Nov 3 2025, 6:37 AM
Unknown Object (File)
Nov 3 2025, 6:35 AM
Unknown Object (File)
Nov 2 2025, 12:22 PM
Subscribers

Details

Summary

This patch changes tcp_ctloutput_[gs]et() such they expect the inp to be write locked. This is a preparation to allow to call tcp_ctloutput_set() from contexts other than setsockopt(). Support for this will come in a follow-up commit.

While there, change the function signatures to pass only the inp around and have this as the first parameter as suggested by glebius@ to simplify future work.

No functional change intended with this change.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped