From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_PASS,UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCFA3C43381 for ; Tue, 26 Feb 2019 12:13:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B40652173C for ; Tue, 26 Feb 2019 12:13:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbfBZMM7 (ORCPT ); Tue, 26 Feb 2019 07:12:59 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:58870 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726588AbfBZMM7 (ORCPT ); Tue, 26 Feb 2019 07:12:59 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from borisp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 26 Feb 2019 14:12:53 +0200 Received: from gen-l-vrt-098.mtl.labs.mlnx (gen-l-vrt-098.mtl.labs.mlnx [10.137.170.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x1QCCrKN030499; Tue, 26 Feb 2019 14:12:53 +0200 From: Boris Pismenny To: aviadye@mellanox.com, davejwatson@fb.com, john.fastabend@gmail.com, daniel@iogearbox.net, vakul.garg@nxp.com, netdev@vger.kernel.org Cc: eranbe@mellanox.com, borisp@mellanox.com Subject: [PATCH net 0/4] tls: Fix issues in tls_device Date: Tue, 26 Feb 2019 14:12:31 +0200 Message-Id: <20190226121235.20784-1-borisp@mellanox.com> X-Mailer: git-send-email 2.12.2 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series fixes issues encountered in tls_device code paths, which were introduced recently. Additionally, this series includes a fix for tls software only receive flow, which causes corruption of payload received by user space applications. This series was tested using the OpenSSL integration of KTLS - https://github.com/mellanox/openssl/tree/tls_rx3 Boris Pismenny (3): tls: Fix tls_device handling of partial records tls: Fix write space handling tls: Fix tls_device receive Eran Ben Elisha (1): tls: Fix mixing between async capable and async include/net/tls.h | 23 +++++++---------------- net/tls/tls_device.c | 25 +++++++++++++++++++++---- net/tls/tls_main.c | 30 +++++++++--------------------- net/tls/tls_sw.c | 45 +++++++++++++++++++++++++++++++-------------- 4 files changed, 68 insertions(+), 55 deletions(-) -- 2.12.2