summaryrefslogtreecommitdiffstats
path: root/sys/netsmb/smb_smb.c
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2001-12-02 08:47:29 +0000
committerbp <bp@FreeBSD.org>2001-12-02 08:47:29 +0000
commit0b6f0e4522eeceef1d5e5dc2e920666192f7ec2a (patch)
tree4dd79521a04986ca1ef5e89d2110be2df70ef2e7 /sys/netsmb/smb_smb.c
parent124068ba6b175b9c0386b32be7f7d51a5d46908a (diff)
downloadFreeBSD-src-0b6f0e4522eeceef1d5e5dc2e920666192f7ec2a.zip
FreeBSD-src-0b6f0e4522eeceef1d5e5dc2e920666192f7ec2a.tar.gz
Pull netsmb requester from the pre-KSE world. This update mostly based
on the patches submitted by Max Khon <fjoe@iclub.nsu.ru>
Diffstat (limited to 'sys/netsmb/smb_smb.c')
-rw-r--r--sys/netsmb/smb_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netsmb/smb_smb.c b/sys/netsmb/smb_smb.c
index 0f3179d..242b941 100644
--- a/sys/netsmb/smb_smb.c
+++ b/sys/netsmb/smb_smb.c
@@ -74,7 +74,7 @@ static struct smb_dialect smb_dialects[] = {
static int
smb_smb_nomux(struct smb_vc *vcp, struct smb_cred *scred, const char *name)
{
- if (scred->scr_p == vcp->vc_iod->iod_p)
+ if (scred->scr_td->td_proc == vcp->vc_iod->iod_p)
return 0;
SMBERROR("wrong function called(%s)\n", name);
return EINVAL;
OpenPOWER on IntegriCloud