aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/sess.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
index 4788e16a02cc..795095f4eac6 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -620,7 +620,6 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses,
620 struct key *spnego_key = NULL; 620 struct key *spnego_key = NULL;
621 __le32 phase = NtLmNegotiate; /* NTLMSSP, if needed, is multistage */ 621 __le32 phase = NtLmNegotiate; /* NTLMSSP, if needed, is multistage */
622 bool first_time; 622 bool first_time;
623 char *ntlmsspblob;
624 623
625 if (ses == NULL) 624 if (ses == NULL)
626 return -EINVAL; 625 return -EINVAL;
@@ -868,6 +867,8 @@ ssetup_ntlmssp_authenticate:
868 iov[1].iov_base = &pSMB->req.SecurityBlob[0]; 867 iov[1].iov_base = &pSMB->req.SecurityBlob[0];
869 } else if (phase == NtLmAuthenticate) { 868 } else if (phase == NtLmAuthenticate) {
870 int blob_len; 869 int blob_len;
870 char *ntlmsspblob;
871
871 ntlmsspblob = kmalloc(5 * 872 ntlmsspblob = kmalloc(5 *
872 sizeof(struct _AUTHENTICATE_MESSAGE), 873 sizeof(struct _AUTHENTICATE_MESSAGE),
873 GFP_KERNEL); 874 GFP_KERNEL);