fix lwp lossage
This commit is contained in:
parent
6b2ac9f5b4
commit
5dcb6d7469
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: smb_smb.c,v 1.18 2003/04/05 13:13:50 jdolecek Exp $ */
|
||||
/* $NetBSD: smb_smb.c,v 1.19 2003/06/29 12:16:19 itojun Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000-2001 Boris Popov
|
||||
|
@ -38,7 +38,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: smb_smb.c,v 1.18 2003/04/05 13:13:50 jdolecek Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: smb_smb.c,v 1.19 2003/06/29 12:16:19 itojun Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -113,7 +113,7 @@ smb_smb_negotiate(struct smb_vc *vcp, struct smb_cred *scred)
|
|||
u_int16_t dindex, tw, swlen, bc;
|
||||
int error, maxqsz;
|
||||
|
||||
KASSERT(scred->scr_p == vcp->vc_iod->iod_p);
|
||||
KASSERT(scred->scr_l->l_proc == vcp->vc_iod->iod_l->l_proc);
|
||||
|
||||
vcp->vc_hflags = 0;
|
||||
vcp->vc_hflags2 = 0;
|
||||
|
@ -266,7 +266,7 @@ smb_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred)
|
|||
char *pp, *up, *pbuf, *encpass;
|
||||
int error, plen, uniplen, ulen, upper;
|
||||
|
||||
KASSERT(scred->scr_p == vcp->vc_iod->iod_p);
|
||||
KASSERT(scred->scr_l->l_proc == vcp->vc_iod->iod_l->l_proc);
|
||||
|
||||
upper = 0;
|
||||
|
||||
|
@ -405,7 +405,7 @@ smb_smb_ssnclose(struct smb_vc *vcp, struct smb_cred *scred)
|
|||
struct mbchain *mbp;
|
||||
int error;
|
||||
|
||||
KASSERT(scred->scr_p == vcp->vc_iod->iod_p);
|
||||
KASSERT(scred->scr_l->l_proc == vcp->vc_iod->iod_l->l_proc);
|
||||
|
||||
if (vcp->vc_smbuid == SMB_UID_UNKNOWN)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue