mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Add the SVC_RELEASE(xprt), as required by r194407.
Approved by: kib (mentor)
This commit is contained in:
parent
6b97c9f09a
commit
76b30a0cd4
2 changed files with 2 additions and 0 deletions
|
|
@ -194,6 +194,7 @@ nfscbd_addsock(struct file *fp)
|
|||
fp->f_data = NULL;
|
||||
svc_reg(xprt, NFS_CALLBCKPROG, NFSV4_CBVERS, nfscb_program,
|
||||
NULL);
|
||||
SVC_RELEASE(xprt);
|
||||
}
|
||||
|
||||
return (0);
|
||||
|
|
|
|||
|
|
@ -372,6 +372,7 @@ nfsrvd_addsock(struct file *fp)
|
|||
if (nfs_maxvers >= NFS_VER4)
|
||||
svc_reg(xprt, NFS_PROG, NFS_VER4, nfssvc_program,
|
||||
NULL);
|
||||
SVC_RELEASE(xprt);
|
||||
}
|
||||
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue