SMB3: GUIDs should be constructed as random but valid uuids
authorSteve French <smfrench@gmail.com>
Thu, 22 Sep 2016 05:39:34 +0000 (00:39 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 07:01:32 +0000 (03:01 -0400)
commita8c240c8d22dc00f15cfaf21f9e176521b4acfcd
tree3e6d6887729797fd1030d0cd00bc09473c43dbf1
parentb2120e0b9143beae76d73ccc6ce020ee03349b1f
SMB3: GUIDs should be constructed as random but valid uuids

commit fa70b87cc6641978b20e12cc5d517e9ffc0086d4 upstream.

GUIDs although random, and 16 bytes, need to be generated as
proper uuids.

Signed-off-by: Steve French <steve.french@primarydata.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reported-by: David Goebels <davidgoe@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/cifsfs.c
fs/cifs/connect.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c