[PATCH 3.4 024/125] crypto: algif_hash - Only export and import on sockets with data

2016-10-12 Thread lizf
From: Herbert Xu 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 4afa5f9617927453ac04b24b584f6c718dfb4f45 upstream. The hash_accept call fails to work on sockets that have not received any data. For some

[PATCH 3.4 024/125] crypto: algif_hash - Only export and import on sockets with data

2016-10-12 Thread lizf
From: Herbert Xu 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 4afa5f9617927453ac04b24b584f6c718dfb4f45 upstream. The hash_accept call fails to work on sockets that have not received any data. For some algorithm implementations it may