Page MenuHomeFreeBSD

inpcb: Release the inpcb cred reference before freeing the structure
ClosedPublic

Authored by markj on Feb 13 2023, 11:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 13, 11:57 PM
Unknown Object (File)
Nov 26 2024, 4:14 AM
Unknown Object (File)
Nov 26 2024, 4:14 AM
Unknown Object (File)
Nov 26 2024, 3:47 AM
Unknown Object (File)
Nov 23 2024, 6:42 PM
Unknown Object (File)
Nov 23 2024, 8:22 AM
Unknown Object (File)
Nov 22 2024, 11:41 AM
Unknown Object (File)
Nov 12 2024, 7:41 PM
Tokens
"Like" token, awarded by p.mousavizadeh_protonmail.com.

Details

Summary

Now that the inp_cred point is accessed only when the inpcb lock is
held, we can avoid deferring a crfree() call when freeing an inpcb.

Sponsored by: Klara, Inc.
Sponsored by: Modirum MDPay

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49755
Build 46645: arc lint + arc unit