From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vakul Garg Subject: [net-next v3 0/5] net/tls: Minor code cleanup patches Date: Thu, 19 Jul 2018 16:46:38 +0530 Message-ID: <20180719111643.12787-1-vakul.garg@nxp.com> Mime-Version: 1.0 Content-Type: text/plain Cc: borisp@mellanox.com, aviadye@mellanox.com, davejwatson@fb.com, davem@davemloft.net, Vakul Garg To: netdev@vger.kernel.org Return-path: Received: from mail-eopbgr10075.outbound.protection.outlook.com ([40.107.1.75]:21590 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725934AbeGSGil (ORCPT ); Thu, 19 Jul 2018 02:38:41 -0400 Sender: netdev-owner@vger.kernel.org List-ID: This patch series improves tls_sw.c code by: 1) Removing redundant function decrypt_skb_update() argument. 2) Using correct socket callback for flagging data availability. 3) Removing redundant variable assignments and wakeup callbacks. 4) Removing redundant dynamic array allocation. 5) Using common error checking code for zero-copy, non zero-copy modes. The patches do not fix any functional bug. Hence "Fixes:" tag has not been used. Vakul Garg (5): net/tls: Do not enable zero-copy prematurely net/tls: Use socket data_ready callback on record availability net/tls: Remove redundant variable assignments and wakeup net/tls: Remove redundant array allocation. net/tls: Rework error checking after decrypt_skb_update() net/tls/tls_sw.c | 45 ++++++++++++++++----------------------------- 1 file changed, 16 insertions(+), 29 deletions(-) -- 2.13.6