commit | 150085791afb8054e11d2e080d4b9cd755dd7f69 | [log] [tgz] |
---|---|---|
author | Vakul Garg <vakul.garg@nxp.com> | Mon Sep 10 22:53:46 2018 +0530 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 12 00:04:28 2018 -0700 |
tree | 881f8e22ab004a269dec1edd4bac819d562242a5 | |
parent | 80de556a6bf47c39ed5999a2ac6f1dd4b6764bb7 [diff] |
net/tls: Fixed return value when tls_complete_pending_work() fails In tls_sw_sendmsg() and tls_sw_sendpage(), the variable 'ret' has been set to return value of tls_complete_pending_work(). This allows return of proper error code if tls_complete_pending_work() fails. Fixes: 3c4d7559159b ("tls: kernel TLS support") Signed-off-by: Vakul Garg <vakul.garg@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>