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)
Wed, Nov 6, 10:40 PM
Unknown Object (File)
Wed, Oct 30, 4:21 PM
Unknown Object (File)
Tue, Oct 15, 9:32 PM
Unknown Object (File)
Mon, Oct 14, 11:30 AM
Unknown Object (File)
Fri, Oct 11, 3:12 PM
Unknown Object (File)
Thu, Oct 10, 2:21 PM
Unknown Object (File)
Thu, Oct 10, 2:21 PM
Unknown Object (File)
Oct 9 2024, 2:56 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 Not Applicable
Unit
Tests Not Applicable