Page MenuHomeFreeBSD

tcp: improve credential handling in syncache
ClosedPublic

Authored by tuexen on Oct 27 2025, 6:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 30, 11:29 AM
Unknown Object (File)
Fri, Jan 9, 2:56 PM
Unknown Object (File)
Dec 26 2025, 2:51 AM
Unknown Object (File)
Dec 21 2025, 12:26 AM
Unknown Object (File)
Dec 12 2025, 4:13 PM
Unknown Object (File)
Dec 9 2025, 11:31 PM
Unknown Object (File)
Nov 26 2025, 1:24 AM
Unknown Object (File)
Nov 25 2025, 10:51 AM

Details

Summary

When adding a syncache entry, take a reference count of the credentials while the inp is still locked.
This fixes an issue introduced in D46793.
Thanks to markj@ to providing a hint to the root cause and to David Marker for reporting the issue.

Diff Detail

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