Aurelien Aptel 82fb82be05 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 <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
CC: Stable <stable@vger.kernel.org>
2018-04-01 20:24:39 -05:00
..
2016-10-13 19:48:11 -05:00
2018-01-26 17:03:00 -06:00
2013-11-08 05:57:46 +09:00
2018-01-26 17:03:00 -06:00
2017-01-14 14:58:29 -06:00
2017-03-02 23:13:37 -06:00
2018-04-01 20:24:39 -05:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00