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, Dec 12, 4:13 PM
Unknown Object (File)
Tue, Dec 9, 11:31 PM
Unknown Object (File)
Wed, Nov 26, 1:24 AM
Unknown Object (File)
Tue, Nov 25, 10:51 AM
Unknown Object (File)
Sat, Nov 22, 9:36 PM
Unknown Object (File)
Thu, Nov 20, 7:14 PM
Unknown Object (File)
Nov 17 2025, 8:52 PM
Unknown Object (File)
Nov 13 2025, 8:16 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