Page MenuHomeFreeBSD

sctp: Avoid unnecessary refcount bumps in sctp_inpcb_bind()
ClosedPublic

Authored by markj on Aug 30 2021, 9:26 PM.
Tags
None
Referenced Files
F108325683: D31732.diff
Thu, Jan 23, 9:25 PM
Unknown Object (File)
Nov 17 2024, 1:21 AM
Unknown Object (File)
Nov 13 2024, 9:54 PM
Unknown Object (File)
Oct 9 2024, 1:44 PM
Unknown Object (File)
Sep 26 2024, 5:32 PM
Unknown Object (File)
Sep 26 2024, 5:32 PM
Unknown Object (File)
Sep 26 2024, 5:32 PM
Unknown Object (File)
Sep 26 2024, 5:29 PM
Subscribers

Details

Summary

We only drop the inp lock when binding to a specific port. So, only
acquire an extra reference when required. This simplifies error
handling a bit.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41270
Build 38159: arc lint + arc unit