]> Git Repo - linux.git/commit - fs/cifs/smb2transport.c
CIFS: refactor crypto shash/sdesc allocation&free
authorAurelien Aptel <[email protected]>
Fri, 16 Feb 2018 18:19:27 +0000 (19:19 +0100)
committerSteve French <[email protected]>
Mon, 2 Apr 2018 01:24:39 +0000 (20:24 -0500)
commit82fb82be05585426405667dd5f0510aa953ba439
tree48f5f72f33aa3c2c29e53cd4fee906db96f1f2ce
parentf30e4148b19d38790e68ec277dea3ad1d6c66db6
CIFS: refactor crypto shash/sdesc allocation&free

shash and sdesc and always allocated and freed together.
* abstract this in new functions cifs_alloc_hash() and cifs_free_hash().
* make smb2/3 crypto allocation independent from each other.

Signed-off-by: Aurelien Aptel <[email protected]>
Signed-off-by: Steve French <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
CC: Stable <[email protected]>
fs/cifs/cifsencrypt.c
fs/cifs/cifsproto.h
fs/cifs/link.c
fs/cifs/misc.c
fs/cifs/smb2transport.c
fs/cifs/smbencrypt.c
This page took 0.056432 seconds and 4 git commands to generate.