HomeFreeBSD

inpcb: Remove a PCB from its LB group upon a subsequent error

Description

inpcb: Remove a PCB from its LB group upon a subsequent error

If a memory allocation failure causes bind to fail, we should take the
inpcb back out of its LB group since it's not prepared to handle
connections.

Reviewed by: glebius
MFC after: 2 weeks
Sponsored by: Modirum MDPay
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D37027

Details

Provenance
markjAuthored on Nov 2 2022, 5:05 PM
Reviewer
glebius
Differential Revision
D37027: inpcb: Remove a PCB from its LB group upon a subsequent error
Parents
rGac1750dd143e: inpcb: Remove NULL checks of credential references
Branches
Unknown
Tags
Unknown