diff options
| -rw-r--r-- | fs/cifs/sess.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c index 795095f4eac6..4788e16a02cc 100644 --- a/fs/cifs/sess.c +++ b/fs/cifs/sess.c | |||
| @@ -620,6 +620,7 @@ 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; | ||
| 623 | 624 | ||
| 624 | if (ses == NULL) | 625 | if (ses == NULL) |
| 625 | return -EINVAL; | 626 | return -EINVAL; |
| @@ -867,8 +868,6 @@ ssetup_ntlmssp_authenticate: | |||
| 867 | iov[1].iov_base = &pSMB->req.SecurityBlob[0]; | 868 | iov[1].iov_base = &pSMB->req.SecurityBlob[0]; |
| 868 | } else if (phase == NtLmAuthenticate) { | 869 | } else if (phase == NtLmAuthenticate) { |
| 869 | int blob_len; | 870 | int blob_len; |
| 870 | char *ntlmsspblob; | ||
| 871 | |||
| 872 | ntlmsspblob = kmalloc(5 * | 871 | ntlmsspblob = kmalloc(5 * |
| 873 | sizeof(struct _AUTHENTICATE_MESSAGE), | 872 | sizeof(struct _AUTHENTICATE_MESSAGE), |
| 874 | GFP_KERNEL); | 873 | GFP_KERNEL); |
