Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bc7f257 authored by Steve French's avatar Steve French Committed by Sasha Levin
Browse files

decode_negTokenInit had wrong calling sequence



[ Upstream commit ebdd207e29164d5de70d2b027b8a3a14c603d42c ]

For krb5 enablement of SMB3, decoding negprot, caller now passes
server struct not the old sec_type

Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 7e8db29e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) {