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)
Oct 16 2024, 10:22 PM
Unknown Object (File)
Sep 16 2024, 11:48 PM
Unknown Object (File)
Sep 14 2024, 9:04 PM
Unknown Object (File)
Aug 31 2024, 3:29 PM
Unknown Object (File)
Aug 24 2024, 5:20 PM
Unknown Object (File)
Aug 13 2024, 6:08 AM
Unknown Object (File)
Jun 17 2024, 5:13 PM
Unknown Object (File)
May 28 2024, 8:11 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