HomeFreeBSD

ng_ksocket: fix upcall clearing on node shutdown

Description

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
Reviewer
afedorov
Differential Revision
D42636: ng_ksocket: fix upcall clearing on node shutdown
Parents
rG60314995efa0: libc/libc/rpc: refactor some global variables
Branches
Unknown
Tags
Unknown