Re: [PATCH net-next v1] net/tls: Fixed return value when tls_complete_pending_work() fails

2018-09-12 Thread David Miller
From: Vakul Garg Date: Mon, 10 Sep 2018 22:53:46 +0530 > 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:

[PATCH net-next v1] net/tls: Fixed return value when tls_complete_pending_work() fails

2018-09-10 Thread Vakul Garg
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 --- net/tls/tls_sw.c