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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1434C6FA8E for ; Sat, 4 Mar 2023 10:41:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229604AbjCDKlK (ORCPT ); Sat, 4 Mar 2023 05:41:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjCDKlI (ORCPT ); Sat, 4 Mar 2023 05:41:08 -0500 Received: from esmtp-1.proxad.net (esmtp-1.proxad.net [213.36.6.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CCA411E85; Sat, 4 Mar 2023 02:41:07 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by esmtp-1.proxad.net (Postfix) with ESMTP id 3EAB4827E5; Sat, 4 Mar 2023 11:41:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at proxad.net Received: from esmtp-1.proxad.net ([127.0.0.1]) by localhost (esmtp-b23-1.proxad.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id peo0MIIwF8E7; Sat, 4 Mar 2023 11:41:05 +0100 (CET) Received: from zstore-5.mgt.proxad.net (unknown [172.18.94.8]) by esmtp-1.proxad.net (Postfix) with ESMTP id C29C3824A7; Sat, 4 Mar 2023 11:40:59 +0100 (CET) Date: Sat, 4 Mar 2023 11:40:59 +0100 (CET) From: Adrien Moulin To: Jakub Kicinski Cc: Boris Pismenny , John Fastabend , netdev , linux-kernel , Tariq Toukan Message-ID: <942662230.43320473.1677926459270.JavaMail.zimbra@corp.free.fr> In-Reply-To: <20230303171756.38a8a43e@kernel.org> References: <61481278.42813558.1677845235112.JavaMail.zimbra@corp.free.fr> <20230303171756.38a8a43e@kernel.org> Subject: Re: TLS zerocopy sendfile offset causes data corruption MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.12_GA_3803 (ZimbraWebClient - SAF16.2 (Mac)/8.8.12_GA_3794) Thread-Topic: TLS zerocopy sendfile offset causes data corruption Thread-Index: aC9LENSJAJFdB5ChhtNYIe4PtK1SOg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: "Jakub Kicinski" > Would you be able to test potential fixes? Unfortunately testing > requires access to the right HW :( > > I think the offset needs to be incremented, so: I confirm that this completely fixes the issue in my testing, thanks !