Page MenuHomeFreeBSD

tcp: improve credential handling in syncache
ClosedPublic

Authored by tuexen on Oct 27 2025, 6:01 PM.
Tags
None
Referenced Files
F162626899: D53380.diff
Wed, Jul 15, 5:47 AM
F162626898: D53380.diff
Wed, Jul 15, 5:47 AM
Unknown Object (File)
Tue, Jul 7, 2:01 PM
Unknown Object (File)
Sat, Jul 4, 2:48 PM
Unknown Object (File)
May 21 2026, 9:40 PM
Unknown Object (File)
May 20 2026, 5:47 AM
Unknown Object (File)
May 17 2026, 3:49 AM
Unknown Object (File)
May 17 2026, 3:41 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