cERROR(1,("\nThere are still active MIDs in queue and we are exiting but we can not delete mid_q_entries or TCP_Server_Info structure due to pending requests MEMORY LEAK!!\n "));/* BB wake up waitors, and/or wait and/or free stale mids and try again? BB */
cERROR(1,("\nThere are still active MIDs in queue and we are exiting but we can not delete mid_q_entries or TCP_Server_Info structure due to pending requests MEMORY LEAK!!\n "));/* BB wake up waitors, and/or wait and/or free stale mids and try again? BB */
/* BB Need to fix bug in error path above - perhaps wait until smb requests
/* BB Need to fix bug in error path above - perhaps wait until smb requests
time out and then free the tcp per server struct BB */
time out and then free the tcp per server struct BB */
read_unlock(&GlobalSMBSeslock);
cFYI(1,("\nAbout to exit from demultiplex thread\n"));
cFYI(1,("\nAbout to exit from demultiplex thread\n"));
DeleteMidQEntry(midQ);/* BB what if process is killed ? - BB add background daemon to clean up Mid entries from killed processes BB test killing process with active mid */
DeleteMidQEntry(midQ);/* BB what if process is killed?
- BB add background daemon to clean up Mid entries from
killed processes & test killing process with active mid */