From 038ee0211017a7318c74409c63d5fb2db9a5e63d Mon Sep 17 00:00:00 2001 From: Ben Creech Date: Wed, 25 Jun 2003 19:51:53 +0000 Subject: [PATCH] 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... --- src/WINNT/afsd/smb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WINNT/afsd/smb.c b/src/WINNT/afsd/smb.c index 347b12f..3cd183a 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) -- 1.9.4