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)
Fri, Nov 28, 9:04 PM
Unknown Object (File)
Thu, Nov 27, 3:18 AM
Unknown Object (File)
Tue, Nov 25, 1:29 PM
Unknown Object (File)
Mon, Nov 24, 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
Unknown Object (File)
Oct 30 2025, 6:34 AM
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