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)
Mar 19 2024, 3:33 PM
Unknown Object (File)
Mar 19 2024, 2:55 PM
Unknown Object (File)
Mar 19 2024, 5:10 AM
Unknown Object (File)
Mar 19 2024, 3:07 AM
Unknown Object (File)
Jan 17 2024, 8:46 AM
Unknown Object (File)
Nov 4 2023, 8:19 PM
Unknown Object (File)
Sep 24 2023, 3:27 AM
Unknown Object (File)
Sep 2 2023, 4:47 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