HomeFreeBSD

sctp: Simplify the free port search in sctp_inpcb_bind()

Description

sctp: Simplify the free port search in sctp_inpcb_bind()

Eliminate a flag variable and reduce indentation. No functional change
intended.

Reviewed by: tuexen
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 2496d812a9c781f8e4be1bfd22375c6e686665da)

Details

Provenance
markjAuthored on Aug 31 2021, 11:43 AM
Parents
rG96ec1edc4a2a: sctp: Avoid unnecessary refcount bumps in sctp_inpcb_bind()
Branches
Unknown
Tags
Unknown