mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 16:47:30 -04:00
(opens, locks, etc) is retained, which I believe is correct behaviour. However, for NFSv4.1, the server also retained a reference to the xprt (RPC transport socket structure) for the backchannel. This caused svcpool_destroy() to not call SVC_DESTROY() for the xprt and allowed a socket upcall to occur after the mutexes in the svcpool were destroyed, causing a crash. This patch fixes the code so that the backchannel xprt structure is dereferenced just before svcpool_destroy() is called, so the code does do an SVC_DESTROY() on the xprt, which shuts down the socket upcall. Tested by: g_amanakis@yahoo.com PR: 204340 MFC after: 2 weeks |
||
|---|---|---|
| .. | ||
| nfs.h | ||
| nfs_commonacl.c | ||
| nfs_commonkrpc.c | ||
| nfs_commonport.c | ||
| nfs_commonsubs.c | ||
| nfs_var.h | ||
| nfscl.h | ||
| nfsclstate.h | ||
| nfsdport.h | ||
| nfskpiport.h | ||
| nfsm_subs.h | ||
| nfsport.h | ||
| nfsproto.h | ||
| nfsrvcache.h | ||
| nfsrvstate.h | ||
| nfsv4_errstr.h | ||
| rpcv2.h | ||
| xdr_subs.h | ||