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)
Thu, May 21, 9:40 PM
Unknown Object (File)
Wed, May 20, 5:47 AM
Unknown Object (File)
Sun, May 17, 3:49 AM
Unknown Object (File)
Sun, May 17, 3:41 AM
Unknown Object (File)
Wed, May 13, 6:49 AM
Unknown Object (File)
Wed, May 13, 6:17 AM
Unknown Object (File)
Wed, May 13, 5:54 AM
Unknown Object (File)
Mon, May 11, 8:45 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