From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next v1] net/tls: Fixed return value when tls_complete_pending_work() fails Date: Wed, 12 Sep 2018 00:04:51 -0700 (PDT) Message-ID: <20180912.000451.543614030592621405.davem@davemloft.net> References: <20180910172346.13181-1-vakul.garg@nxp.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, borisp@mellanox.com, aviadye@mellanox.com, davejwatson@fb.com, doronrk@fb.com To: vakul.garg@nxp.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:57718 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725966AbeILMIB (ORCPT ); Wed, 12 Sep 2018 08:08:01 -0400 In-Reply-To: <20180910172346.13181-1-vakul.garg@nxp.com> Sender: netdev-owner@vger.kernel.org List-ID: 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: kernel TLS support") > Signed-off-by: Vakul Garg Applied, thank you.