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)
Mon, Jan 27, 5:06 AM
Unknown Object (File)
Fri, Jan 24, 5:49 PM
Unknown Object (File)
Thu, Jan 23, 6:28 PM
Unknown Object (File)
Thu, Jan 23, 8:00 AM
Unknown Object (File)
Dec 7 2024, 6:05 AM
Unknown Object (File)
Nov 20 2024, 3:27 AM
Unknown Object (File)
Nov 20 2024, 3:24 AM
Unknown Object (File)
Nov 19 2024, 3:33 PM

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