Page MenuHomeFreeBSD

tcp: improve handling of setsockopt
ClosedPublic

Authored by tuexen on May 18 2024, 10:22 AM.
Tags
None
Referenced Files
F156857681: D45241.diff
Sat, May 16, 10:48 PM
Unknown Object (File)
Fri, May 8, 11:08 PM
Unknown Object (File)
Fri, May 8, 11:07 PM
Unknown Object (File)
Mon, Apr 20, 2:58 AM
Unknown Object (File)
Sun, Apr 19, 10:01 PM
Unknown Object (File)
Sun, Apr 19, 10:01 PM
Unknown Object (File)
Apr 17 2026, 12:43 PM
Unknown Object (File)
Apr 15 2026, 6:20 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