}else/* BB need to more gracefully handle the rare negative session
}else/* BB need to more gracefully handle the rare negative session
response case because response will be still outstanding */
response case because response will be still outstanding */
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"));