diff mbox

[CIFS,1/4] NTLM authentication and signing - Calculate auth response per smb session

Message ID AANLkTinUJMr=mjg0ymhB=Pv07GRZ+m5-4d22M9Bhgqbu@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Shirish Pargaonkar Oct. 13, 2010, 7:24 p.m. UTC
None
diff mbox

Patch

diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 848e458..3656c80 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -136,7 +136,8 @@  cifs_reconnect(struct TCP_Server_Info *server)
        struct mid_q_entry *mid_entry;

        spin_lock(&GlobalMid_Lock);
-       if (server->tcpStatus == CifsExiting) {
+       if (server->tcpStatus == CifsExiting ||
+               server->tcpStatus == CifsNeedReconnect) {
                /* the demux thread will exit normally
                next time through the loop */
                spin_unlock(&GlobalMid_Lock);