From: Shirish Pargaonkar Date: Thu, 29 Aug 2013 13:35:10 +0000 (-0500) Subject: cifs: Add a variable specific to NTLMSSP for key exchange. X-Git-Tag: v3.12-rc1~46^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c234aa5e33ed9037354a4c94d0d3e0350abe5eb;p=pandora-kernel.git cifs: Add a variable specific to NTLMSSP for key exchange. Add a variable specific to NTLMSSP authentication to determine whether to exchange keys during negotiation and authentication phases. Since session key for smb1 is per smb connection, once a very first sesion is established, there is no need for key exchange during subsequent session setups. As a result, smb1 session setup code sets this variable as false. Since session key for smb2 and smb3 is per smb connection, we need to exchange keys to generate session key for every sesion being established. As a result, smb2/3 session setup code sets this variable as true. Acked-by: Jeff Layton Signed-off-by: Shirish Pargaonkar Signed-off-by: Steve French --- Reading git-diff-tree failed