Do not send SMB2 signatures for SMB3 frames
authorSteve French <smfrench@gmail.com>
Sun, 9 Dec 2012 04:08:06 +0000 (22:08 -0600)
committerSteve French <smfrench@gmail.com>
Mon, 10 Dec 2012 01:45:45 +0000 (19:45 -0600)
commit38107d45cf452761a74fe512190e23f36834d6dd
treebc0c08d21ba5b26b74b69edbe0ce27be951c10a2
parent1f6306806c1494bea51b93f96e105e93a96e3c22
Do not send SMB2 signatures for SMB3 frames

Restructure code to make SMB2 vs. SMB3 signing a protocol
specific op.  SMB3 signing (AES_CMAC) is not enabled yet,
but this restructuring at least makes sure we don't send
an smb2 signature on an smb3 signed connection. A followon
patch will add AES_CMAC and enable smb3 signing.

Signed-off-by: Steve French <smfrench@gmail.com>
Acked-by: Jeff Layton <jlayton@samba.org>
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/smb2ops.c
fs/cifs/smb2proto.h
fs/cifs/smb2transport.c