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, May 20, 4:30 AM
Unknown Object (File)
Mon, May 18, 5:18 PM
Unknown Object (File)
Sat, May 16, 10:48 PM
Unknown Object (File)
May 8 2026, 11:08 PM
Unknown Object (File)
May 8 2026, 11:07 PM
Unknown Object (File)
Apr 20 2026, 2:58 AM
Unknown Object (File)
Apr 19 2026, 10:01 PM
Unknown Object (File)
Apr 19 2026, 10:01 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