]> git.baikalelectronics.ru Git - kernel.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)
commit750301d8ad98a93849af8b23171487b48484888b
tree7bdca5ec954703cc16b043b4383f478542257147
parent9b8057e7f937f20763a90a8fc2333168af101732
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