Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7486780rwd; Tue, 20 Jun 2023 01:47:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5xdfoNojmyIKw2aVtg3/jNEgBY5tSPU7kqMY1tP8pRyQsGUUmfEWA6KKXDjzRQtNW8sHhI X-Received: by 2002:a17:903:32c4:b0:1b0:3cda:6351 with SMTP id i4-20020a17090332c400b001b03cda6351mr14728873plr.0.1687250840379; Tue, 20 Jun 2023 01:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687250840; cv=none; d=google.com; s=arc-20160816; b=SjSOff6O1m69KYr6p98gUW+G7XX9tRjlnP7uTLJBz7M/bEplLi8GxpRWZUP+1B0aXY 5PIb1dyi+2V4IVsYUWT2DT3K/56s3IVyHHk8MLZvx3c/e5X/wnmdEFBSBObyzjEGn03I 4FBn5yICE/GfDVqJxsLu5JXwhykrTH8nQl+Jr9IBAyY5TggWynO3HNgO4c3TcoXOPJkS ZDXu6r1RiT64rRpOoNkyQhp6mNfr53RVE0a+jmrzEvCgzoHU+mfrz73nUoEfVTM/c3mD j4McjVlmy3XFYDd7IUPtT/+xTUZDpSpiy3JhOBb7ROfxvhIREWtqwb+u8LIOkoitTx5w Ws0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=krHhdHR+9e8nWXlLxJFkbZaEKqlI8bFA3Xkqp2Ozwd8=; b=wyZYBmTTJjqzUNMiSMEk2W3sxAHvzDPXSj1soVAkBPMPrRDQKzST74FIlrWweWN/hz RCxC+/Lih5WS4wDgJ6j6a/nZIC4IzgFTG0d4k/c96tjzmK0T4WEhsC2mImkeiLlrEj3K AKI2xKMdsIjJdgdh+0vela7FIcU7TcW8cPREo4x1zYjEmv/GmqaDKUJgyo48ovQ+s0EK ONg7KLz94l8tfRlVGK1CvHBFIbqvqV+0D4gXhl//EmvCcW7Gk+b0y0kdHbybhkkrrkGR OoWXWQ+qtd39zWWt9h8sF7nh5YlUSbeRo1lGWtyswNSHBOAi+K2gTAPmQD/Dc22nKYmI 9R6w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w15-20020a170902a70f00b001b53b6d8ebfsi1436018plq.56.2023.06.20.01.47.04; Tue, 20 Jun 2023 01:47:20 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231145AbjFTIeY (ORCPT + 99 others); Tue, 20 Jun 2023 04:34:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbjFTIeX (ORCPT ); Tue, 20 Jun 2023 04:34:23 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82F6ADB; Tue, 20 Jun 2023 01:34:22 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qBWoK-0051aU-PR; Tue, 20 Jun 2023 16:34:01 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Tue, 20 Jun 2023 16:34:00 +0800 Date: Tue, 20 Jun 2023 16:34:00 +0800 From: Herbert Xu To: David Howells Cc: 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) Message-ID: References: <427646.1686913832@warthog.procyon.org.uk> <1220921.1687246935@warthog.procyon.org.uk> <1226381.1687249916@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1226381.1687249916@warthog.procyon.org.uk> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 On Tue, Jun 20, 2023 at 09:31:56AM +0100, David Howells wrote: > 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 that 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? This is against v2 which started this thread. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt