HomeFreeBSD

inpcb: return ENOMEM if bind(2) fails to allocate lbgroup

Description

inpcb: return ENOMEM if bind(2) fails to allocate lbgroup

The SO_REUSEPORT_LB isn't a standard option, neither ENOMEM is a specified
return code from bind(2), but it definitely is more appropriate than
EAGAIN or the masked ENOBUFS.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D49153

Details

Provenance
glebiusAuthored on Fri, Mar 7, 6:59 AM
Reviewer
markj
Differential Revision
D49153: inpcb: return ENOMEM if bind(2) fails to allocate lbgroup
Parents
rG452187b61147: inpcb: in_pcbinshash() now can't fail on connect(2)
Branches
Unknown
Tags
Unknown