Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1356117pxb; Thu, 16 Sep 2021 05:55:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvQeFgEfzxsHXtWxLAeRNWUkPWtx06hbkA9O+AHspHkV5b9TAqCgdcdf5PyqlqgKab8Uf8 X-Received: by 2002:a05:6638:d03:: with SMTP id q3mr4273754jaj.64.1631796916697; Thu, 16 Sep 2021 05:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631796916; cv=none; d=google.com; s=arc-20160816; b=xuchGBmLVud+S11mCYb+i9EawjiYuIQqvgqGhFJmLOXR13Cjdyvn8L4oPHkS7ulNJY fyXlbC9qCKd/2OLabFf+922WDVIByHeXb0K6l3fFPt6uhkBrb6xTX0yaHGfyH97sA0qr vGMvQS936KvRlPXEF0qrQtQKNd+x2o10zfcpmiWxv2V/dIu90rXbiV9RZofYta9CdmFB WLSR524HS1ZtsBzdsKQoVlQecjsW4+LnNCWoo2lXoKAAEwXOvdtDqDniSuVaYEbszaMN Qel/4ZcjhL62wBGcNKM2Kp/sUF+2LSwFSyflM54J+kLxmq7ItcYeSTt9pU1YNEb42YK2 ed/g== 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:dkim-signature; bh=H8J3fppm6pGsClKVQLZLoovJbj+NoBnYknLOjFM8iOM=; b=KAdtnG9mX/xGwNCt5xHWBXyUwGdt/ljQ9tqfT95fLPuJuP7VB11wS5nEmZw7zYz0Z/ 0T9jC2bAp4qknYLM65ZOx7srqcdWDjKh6dxV398dI8SVh3IWz0flJSflSFg+XcmIFcVv pSm4BpeOJS+2/7T4PKwxcp2wq9DH9T04cRVmnTI61Ut0mZ8pgQbaS+ZrIvY/9evkBWJU 4ZFHJ9R1NyEPCsIVBkPYCf7mtlqhh1kAbxp0dGr81XDZGY3LrSGDKX6Mizzo1TeGtzYZ uOuJkpzpSCJ4UQod5r+ueTHYf6N/cmnHpY5y7zNhqbzEQq9VSi2ysTlYG4X17FZAmQPS eVvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="HzjPtlu/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m24si2688245jac.82.2021.09.16.05.55.04; Thu, 16 Sep 2021 05:55:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="HzjPtlu/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S239623AbhIPMyU (ORCPT + 99 others); Thu, 16 Sep 2021 08:54:20 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:49752 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230299AbhIPMyT (ORCPT ); Thu, 16 Sep 2021 08:54:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631796778; 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: in-reply-to:in-reply-to:references:references; bh=H8J3fppm6pGsClKVQLZLoovJbj+NoBnYknLOjFM8iOM=; b=HzjPtlu/X8RFs6ECE0oU9rwu1GvJslGYgYCYsGaLJ8nIfIW+KteNcbfNelSrncrAzBJ5tX dPAHCd2Ztmd8WqUxVvFT+5mzE1NGfOuTULrSPd0Q1EMlsrQFa5QFR5JJWFNkIsO/dF3cgL GaMJ0J2nM5JYr3jpe7BLVcC+dyUcQuQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-471-vxaAx6DkOvyY7YFkM6E1zQ-1; Thu, 16 Sep 2021 08:52:57 -0400 X-MC-Unique: vxaAx6DkOvyY7YFkM6E1zQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0913D10B744E; Thu, 16 Sep 2021 12:52:56 +0000 (UTC) Received: from T590 (ovpn-12-89.pek2.redhat.com [10.72.12.89]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3DC9D5D9C6; Thu, 16 Sep 2021 12:52:51 +0000 (UTC) Date: Thu, 16 Sep 2021 20:53:04 +0800 From: Ming Lei To: Yu Kuai Cc: josef@toxicpanda.com, axboe@kernel.dk, hch@infradead.org, linux-block@vger.kernel.org, nbd@other.debian.org, linux-kernel@vger.kernel.org, yi.zhang@huawei.com Subject: Re: [patch v8 6/7] nbd: partition nbd_read_stat() into nbd_read_reply() and nbd_handle_reply() Message-ID: References: <20210916093350.1410403-1-yukuai3@huawei.com> <20210916093350.1410403-7-yukuai3@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210916093350.1410403-7-yukuai3@huawei.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 16, 2021 at 05:33:49PM +0800, Yu Kuai wrote: > Prepare to fix uaf in nbd_read_stat(), no functional changes. > > Signed-off-by: Yu Kuai > --- Reviewed-by: Ming Lei -- Ming