Page MenuHomeFreeBSD

tcp: improve handling of setsockopt
ClosedPublic

Authored by tuexen on May 18 2024, 10:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 15, 6:20 AM
Unknown Object (File)
Tue, Apr 14, 9:39 PM
Unknown Object (File)
Mon, Apr 13, 8:12 PM
Unknown Object (File)
Sat, Apr 11, 8:23 PM
Unknown Object (File)
Sat, Apr 11, 1:33 AM
Unknown Object (File)
Thu, Apr 9, 8:35 PM
Unknown Object (File)
Sun, Apr 5, 12:41 AM
Unknown Object (File)
Thu, Mar 19, 11:27 AM

Details

Summary

Ensure that the inp is not dropped when starting a stack switch. While there, clean-up the code by using INP_WLOCK_RECHECK, which also re-assigns tp.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable