]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: enable signing flag in SMB header when server has it on
authorJeff Layton <jlayton@redhat.com>
Fri, 4 Feb 2011 12:21:26 +0000 (07:21 -0500)
committerSteve French <sfrench@us.ibm.com>
Fri, 4 Feb 2011 20:19:57 +0000 (20:19 +0000)
commit8e93b74df6e0d40894314b946c1297ba89fe7257
tree04f1471b3ab0130c0f30c8dd28ce5e0bc8b302ec
parent082e28357b8d02de6e42808cb6b069468d70e254
cifs: enable signing flag in SMB header when server has it on

cifs_sign_smb only generates a signature if the correct Flags2 bit is
set. Make sure that it gets set correctly if we're sending an async
call.

This patch fixes:

    https://bugzilla.kernel.org/show_bug.cgi?id=28142

Reported-and-Tested-by: JG <jg@cms.ac>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/transport.c