Unbreak options VIMAGE kernel builds.
Approved by: julian (mentor)
This commit is contained in:
parent
ebcc3763a8
commit
705fe7ce35
@ -1374,7 +1374,7 @@ nfs_create(struct vop_create_args *ap)
|
||||
}
|
||||
mtx_unlock(&dnp->n_mtx);
|
||||
|
||||
CURVNET_SET(nmp->nm_sockreq.nr_so->so_vnet);
|
||||
CURVNET_SET(P_TO_VNET(&proc0));
|
||||
#ifdef INET
|
||||
INIT_VNET_INET(curvnet);
|
||||
if (!TAILQ_EMPTY(&V_in_ifaddrhead))
|
||||
|
@ -2673,6 +2673,7 @@ nfsrv_v4rootexport(void *argp, struct ucred *cred, struct thread *p)
|
||||
int
|
||||
nfsrv_getsocksndseq(struct socket *so, tcp_seq *maxp, tcp_seq *unap)
|
||||
{
|
||||
INIT_VNET_INET(so->so_vnet);
|
||||
struct inpcb *inp;
|
||||
struct tcpcb *tp;
|
||||
int error = EPIPE;
|
||||
|
Loading…
Reference in New Issue
Block a user