From: Ben Creech Date: Wed, 25 Jun 2003 19:51:53 +0000 (+0000) Subject: windows-zombie-fix-20030625 X-Git-Tag: openafs-devel-1_3_50~154 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=038ee0211017a7318c74409c63d5fb2db9a5e63d;p=packages%2Fo%2Fopenafs.git windows-zombie-fix-20030625 To refresh your memories, this past semester, NC State experienced a problem wherein the OpenAFS Client for Windows would go into a zombie state and stop responding to traffic on the SMB interface until restarted... --- diff --git a/src/WINNT/afsd/smb.c b/src/WINNT/afsd/smb.c index 347b12faf..3cd183a4f 100644 --- a/src/WINNT/afsd/smb.c +++ b/src/WINNT/afsd/smb.c @@ -5886,7 +5886,7 @@ void smb_Listener(void *parmp) long len; long i, j; smb_vc_t *vcp; - int flags = 0; + int flags; char rname[NCBNAMSZ+1]; char cname[MAX_COMPUTERNAME_LENGTH+1]; int cnamelen = MAX_COMPUTERNAME_LENGTH+1; @@ -5903,6 +5903,7 @@ void smb_Listener(void *parmp) while (1) { memset(ncbp, 0, sizeof(NCB)); + flags = 0; #ifdef DJGPP /* terminate if shutdown flag is set */ if (smbShutdownFlag == 1)