Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7489639rwd; Tue, 20 Jun 2023 01:50:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7/hQv8FG45HQjLs6HNuENTDaU+j3a3g85CY86ATJEaeJ1B0PZz9CiyDmwoU9Llgu8ee3/t X-Received: by 2002:a17:90b:3ecd:b0:256:ddf5:1eb6 with SMTP id rm13-20020a17090b3ecd00b00256ddf51eb6mr14040293pjb.2.1687251017038; Tue, 20 Jun 2023 01:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687251017; cv=none; d=google.com; s=arc-20160816; b=oQ/djAItJ3eh0eTEgc4WWev03tZJ4YpR3Q1nZbCDB7gPOUy3g68XIx3OaFekic+t5g hENIGefObyLEIWT2Gcv9idRdtR3qiJhs9oEhLV6CkebxkHeWkwq8xw27Qt9OluohpQ18 PhNfuuMDy1w1vWOOzDtOKU7R/lgH5/cJdrhUNHqeQZeQ4D7kdjklcY4vK/eCIDyBYr6k bNhJAv0pKBVUNUnYCMkgg0u5lh7NyDTbIVRVhPNazROpy1V8wPLhCG84bmFJ2rvOm6cd NGUVod5WPgel9W7VzNDP7jjvY+9SfK/jMb4v1izdU6ArF2Ci2wpbNIX+iV2b/GXZrd45 EhAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:dkim-signature; bh=XKEa4ltXKBUtAK/LLzWngePwewCAjEa0q4AHCkU4uRc=; b=XYRH/wkuTz+cOosnpk8B/g84AP3sNroXVJrdMLmnqXQuALmkbtwFSrw0AahUY6VdH9 oh/gtF2muY1plG7hSeFsVnfovoVajsf5pMAfg3mhVEUzhLW9bh4w+oF+GSuGtmTYhqeN wsQRiGm4EW0eZ2nLUZSk2ULCtIeLkfH7lYqYsx/hOjFFwP7SbPtnqYHE8tPEHDeJCZQJ 6OKji325RiA4ps7/DZcTXpnQKR62uwI4qATEogWpWsCDU/1WgZHaPslSW/ZZfh/kKy0L 6cNfmmKZAlkm8h6FX0DsHvytLUAUuHRGWDLFBlr3WtmvPooBPx1RHL/0itTxIRbGN8R/ ExIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Da3eDofy; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v18-20020a17090ae99200b00259b2f52633si1468555pjy.166.2023.06.20.01.50.04; Tue, 20 Jun 2023 01:50:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Da3eDofy; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231965AbjFTIdK (ORCPT + 99 others); Tue, 20 Jun 2023 04:33:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231372AbjFTIcw (ORCPT ); Tue, 20 Jun 2023 04:32:52 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB339DD for ; Tue, 20 Jun 2023 01:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687249923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XKEa4ltXKBUtAK/LLzWngePwewCAjEa0q4AHCkU4uRc=; b=Da3eDofyGPnOdEOPgal7JduhSL/2Ve0lLwEOeekSf5RrIDgKp5Vi9tvzTrVLzPwQnAsVrZ KsFDQszUzXJmFMWs8fki7oOpkZwi+DfwaKjsL9iviDGmsM1qpNwggWnMO1K6wrsROh/IVr +ldNyYz1DN61N5rNv9nBBS5a382yz5M= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-227-Z3QM8iAqPF2jul7yPw84-w-1; Tue, 20 Jun 2023 04:32:00 -0400 X-MC-Unique: Z3QM8iAqPF2jul7yPw84-w-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A464A185A78B; Tue, 20 Jun 2023 08:31:59 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id A3BB440C6CD2; Tue, 20 Jun 2023 08:31:57 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <427646.1686913832@warthog.procyon.org.uk> <1220921.1687246935@warthog.procyon.org.uk> To: Herbert Xu Cc: dhowells@redhat.com, netdev@vger.kernel.org, syzbot+13a08c0bf4d212766c3c@syzkaller.appspotmail.com, syzbot+14234ccf6d0ef629ec1a@syzkaller.appspotmail.com, syzbot+4e2e47f32607d0f72d43@syzkaller.appspotmail.com, syzbot+472626bb5e7c59fb768f@syzkaller.appspotmail.com, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jens Axboe , Matthew Wilcox , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2] crypto: af_alg/hash: Fix recvmsg() after sendmsg(MSG_MORE) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1226380.1687249916.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Tue, 20 Jun 2023 09:31:56 +0100 Message-ID: <1226381.1687249916@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Herbert Xu wrote: > > However, given you want sendmsg() to do the init->digest cycle on zero= length > > data, I think we should revert to the previous version of the patch th= at makes > > a pass of the loop even with no data. > = > Let's get this fixed ASAP and we can refine it later. > = > Acked-by: Herbert Xu Um. Is that against this patch or the old version? David