Page MenuHomeFreeBSD

tcp: improve credential handling in syncache
ClosedPublic

Authored by tuexen on Oct 27 2025, 6:01 PM.
Tags
None
Referenced Files
F173005161: D53380.diff
Tue, Sep 22, 7:41 PM
Unknown Object (File)
Thu, Sep 10, 2:22 AM
Unknown Object (File)
Sun, Sep 6, 2:08 PM
Unknown Object (File)
Sun, Sep 6, 9:48 AM
Unknown Object (File)
Sun, Sep 6, 9:26 AM
Unknown Object (File)
Sat, Sep 5, 8:37 PM
Unknown Object (File)
Thu, Sep 3, 3:44 PM
Unknown Object (File)
Thu, Sep 3, 10:32 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