Page MenuHomeFreeBSD

Change ctloutput handling for TCP
ClosedPublic

Authored by tuexen on Feb 3 2022, 12:19 AM.
Tags
None
Referenced Files
F156914896: D34151.id.diff
Sun, May 17, 8:05 AM
Unknown Object (File)
Sat, May 16, 8:23 PM
Unknown Object (File)
Wed, May 13, 5:31 PM
Unknown Object (File)
Wed, May 13, 4:58 PM
Unknown Object (File)
Tue, May 5, 11:37 PM
Unknown Object (File)
Sun, May 3, 1:30 PM
Unknown Object (File)
Fri, May 1, 4:21 PM
Unknown Object (File)
Wed, Apr 29, 6:41 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