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 46F6DEB64DB for ; Tue, 20 Jun 2023 08:33:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231965AbjFTIdK (ORCPT ); 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 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