HomeFreeBSD

MFC: ng_ksocket: fix upcall clearing on node shutdown

Description

MFC: ng_ksocket: fix upcall clearing on node shutdown

Note: imho, the proper solution would be to guarantee that upcalls
won't ever be called after soclose(), but this isn't the case, yet.
This change at least makes the node work the way it always worked.

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

(cherry picked from commit efad7cbfdc06e92bcc589a6c0cae2f3bea0d5cb9)

Details

Provenance
glebiusAuthored on Nov 17 2023, 5:23 PM
eugen_grosbein.netCommitted on Sep 4 2024, 4:20 PM
Reviewer
afedorov
Differential Revision
D42636: ng_ksocket: fix upcall clearing on node shutdown
Parents
rG881886673a34: MFC: ng_ksocket: fix accept(2)
Branches
Unknown
Tags
Unknown