diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-05-18 20:33:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-17 14:23:19 +0200 |
commit | d806f3ae4b3cd162e5f74049d40f1d61fa2918a3 (patch) | |
tree | 7fd52a5894408ab0d38399c40209880c3c20b7ce /include/net/sock.h | |
parent | b3cb6006857ca5a9e31a146ee19f1b9495eddbae (diff) | |
download | linux-stable-d806f3ae4b3cd162e5f74049d40f1d61fa2918a3.tar.gz linux-stable-d806f3ae4b3cd162e5f74049d40f1d61fa2918a3.tar.bz2 linux-stable-d806f3ae4b3cd162e5f74049d40f1d61fa2918a3.zip |
crypto: sun8i-ss - fix error codes in allocate_flows()
[ Upstream commit d2765e1b9ac4b2d5a5d5bf17f468c9b3566c3770 ]
These failure paths should return -ENOMEM. Currently they return
success.
Fixes: 359e893e8af4 ("crypto: sun8i-ss - rework handling of IV")
Fixes: 8eec4563f152 ("crypto: sun8i-ss - do not allocate memory when handling hash requests")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions