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)
Mon, Nov 3, 6:37 AM
Unknown Object (File)
Mon, Nov 3, 6:35 AM
Unknown Object (File)
Sun, Nov 2, 12:22 PM
Unknown Object (File)
Thu, Oct 30, 6:34 AM
Unknown Object (File)
Oct 13 2025, 9:37 PM
Unknown Object (File)
Oct 13 2025, 9:37 PM
Unknown Object (File)
Oct 13 2025, 8:02 AM
Unknown Object (File)
Oct 5 2025, 3:31 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