mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
decode_negTokenInit had wrong calling sequence
For krb5 enablement of SMB3, decoding negprot, caller now passes server struct not the old sec_type
This commit is contained in:
parent
911a8dfa47
commit
ebdd207e29
1 changed files with 1 additions and 2 deletions
|
@ -431,8 +431,7 @@ SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses)
|
|||
if (rc)
|
||||
goto neg_exit;
|
||||
if (blob_length)
|
||||
rc = decode_neg_token_init(security_blob, blob_length,
|
||||
&server->sec_type);
|
||||
rc = decode_negTokenInit(security_blob, blob_length, server);
|
||||
if (rc == 1)
|
||||
rc = 0;
|
||||
else if (rc == 0) {
|
||||
|
|
Loading…
Reference in a new issue