Page MenuHomeFreeBSD

tcp: improve credential handling in syncache
ClosedPublic

Authored by tuexen on Oct 27 2025, 6:01 PM.
Tags
None
Referenced Files
F154842169: D53380.id165171.diff
Wed, Apr 29, 2:10 PM
F154840347: D53380.id165171.diff
Wed, Apr 29, 2:05 PM
Unknown Object (File)
Tue, Apr 28, 10:28 PM
Unknown Object (File)
Tue, Apr 28, 10:22 PM
Unknown Object (File)
Thu, Apr 23, 10:58 PM
Unknown Object (File)
Tue, Apr 21, 2:55 AM
Unknown Object (File)
Mon, Apr 20, 6:45 PM
Unknown Object (File)
Mon, Apr 6, 6:25 PM

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