]> 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)
commite2b351af913f6bd7fc0c189ba233b23e7d3d8c19
tree7bdca5ec954703cc16b043b4383f478542257147
parent0e6c92ce1d170795a396f8108369eb2c8412797f
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