HomeFreeBSD

MFC: ng_ksocket: fix accept(2)

Description

MFC: ng_ksocket: fix accept(2)

  • Provide listen upcall and set it on NGM_KSOCKET_LISTEN
  • Mask EWOULDBLOCK on NGM_KSOCKET_ACCEPT

Reviewed by: afedorov
Differential Revision: https://reviews.freebsd.org/D42637
PR: 272319
PR: 275106
Fixes: 779f106aa169256b7010a1d8f963ff656b881e92

(cherry picked from commit 43f7e21668105cc5a3c66eae5ecef0203c2df62f)

Details

Provenance
glebiusAuthored on Nov 17 2023, 5:24 PM
eugen_grosbein.netCommitted on Sep 4 2024, 4:07 PM
Reviewer
afedorov
Differential Revision
D42637: ng_ksocket: fix accept(2)
Parents
rGa73a70472c47: umtx: shm: 'ushm_refcnt > 0' => 'ushm_refcnt != 0'
Branches
Unknown
Tags
Unknown