diff options
author | 2017-06-11 09:12:47 +0200 | |
---|---|---|
committer | 2017-06-21 00:09:28 -0500 | |
commit | 517a6e43c4872c89794af5b377fa085e47345952 (patch) | |
tree | 4abc165240c6f48044e475c58609202fb5fe16a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cifs: remove redundant return in cifs_creation_time_get (diff) | |
download | wireguard-linux-517a6e43c4872c89794af5b377fa085e47345952.tar.xz wireguard-linux-517a6e43c4872c89794af5b377fa085e47345952.zip |
CIFS: Fix some return values in case of error in 'crypt_message'
'rc' is known to be 0 at this point. So if 'init_sg' or 'kzalloc' fails, we
should return -ENOMEM instead.
Also remove a useless 'rc' in a debug message as it is meaningless here.
Fixes: 026e93dc0a3ee ("CIFS: Encrypt SMB3 requests before sending")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions