]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cifs: dump the session id and keys also for SMB2 sessions
authorRonnie Sahlberg <lsahlber@redhat.com>
Sun, 12 Apr 2020 06:09:26 +0000 (16:09 +1000)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Apr 2020 02:15:03 +0000 (21:15 -0500)
commitf560cda91bd59a872fe0e3217b74c3f33c131b50
tree7bdca5ec954703cc16b043b4383f478542257147
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
cifs: dump the session id and keys also for SMB2 sessions

We already dump these keys for SMB3, lets also dump it for SMB2
sessions so that we can use the session key in wireshark to check and validate
that the signatures are correct.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
fs/cifs/smb2pdu.c