Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp969772pxp; Wed, 16 Mar 2022 23:01:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ9gNnZiihsx6p3R92z6mxrnq+B9pVZ+JNZ5ydI50qJcpFRisJDerSW56v5cn0GZngEfX/ X-Received: by 2002:a62:1608:0:b0:4f6:f496:c678 with SMTP id 8-20020a621608000000b004f6f496c678mr2796455pfw.49.1647496875911; Wed, 16 Mar 2022 23:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647496875; cv=none; d=google.com; s=arc-20160816; b=SvPSA6zR8eoib17guWegRbx9ghdB7M8T+8knhuNNn3eq1UPzEuRawfnRogQcNyn4qi B+jRFmx9p+wYp1eY/xfnlbt2ed3NPiL9WNBLHUTSn78IJCnJL1taoP9kokGidBVlnUpU N3QVu431M58W/61G38zYQ08t/AEqfVxvGB+qgOsMW9nmha+ngaeaYxM37jqogTEedaK7 0jnkoXZz+DOnCjmoi2F7YBhZMl4MUUk5Tt1CLUDTh48Hc895s4SemXpWM5vEBSTgIQZH CWtczKI5TydX1Xc/FBNMKl55FLrioXiuF/Asiy4gcNvdvSG9ZYhlR4+BkflMcCg7lvzP XWyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=CfuAx1W37OheKWeEOQ3B9uwNzjzaAIwFFq70ZKoR0Nc=; b=qYCB35Qk4tAOhl+6EZ3Yh3FL2fHlQ2RQnt54/8XaVUnU/P6ro/Gzvhrt9V9ojosJB/ pxKaW41H8NE5ZYXyi41E/N2NXvMP6i1iHgMeGwTx7VssjA/0gI06lFlkgDDTEBXnKhgY PVkaaMrzuUMKtAxSvFhZ9b+AntjI1Asnco9KWTEjT3kxYjzGK0FNZAYk40h0xXIzD40E Kt/piIa1nzghJuCRxpLXuSWU7Q3tsWh+Xm74vSXNCrONyL6Ud/xH83mkH41s+pRtcm4Y rbLXMTdsonQV5SfvUet5PR45TiXENbBfYj2vcKznzvFE84+eskoPwtnS0H0LqIeu7bdr RO8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UFCZN1Lc; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bk2-20020aa78302000000b004fa2150e976si3145744pfb.311.2022.03.16.23.01.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:01:15 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UFCZN1Lc; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BE82021F772; Wed, 16 Mar 2022 22:00:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353586AbiCPFL2 (ORCPT + 99 others); Wed, 16 Mar 2022 01:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbiCPFL1 (ORCPT ); Wed, 16 Mar 2022 01:11:27 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3430A41FAB; Tue, 15 Mar 2022 22:10:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CF965B81A42; Wed, 16 Mar 2022 05:10:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 898B7C340F0; Wed, 16 Mar 2022 05:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647407410; bh=5+kAqeu0Cft15Amj5f6mU/4PCjSG7a4rbxYBTDwIVEM=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=UFCZN1Lc6MKr5JaBVxC2vu/BJq2nGG5cq3vxqIIi4UuBQWEbZqi/Q406wQKsr2knF nIGgSuvQQjc6Z+pnBrh3hUpnN1OCOA3CyAuYx5m3HzddJZwE9uECTKJH2g7yN1Tx57 TmIllj5yQ+p8wUlAe+KWg97gQnpzaRrQjOEI1/jm+Wppe3hrh4M4dMor4HO5XyE19b P58VLNdyrx2UIlpXdkl1n3KlllfXG3nBKWjJ83GAuAMKtk2k65f8ofykMtMAyrU0nK MdfrxqzwXhZwfeNIvuLZlt83XQSGqHp+INlL77gOOUCFu3MchFDzrlgDCqLU2nypxc vxbFpOoFVVPog== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 6D583E6D3DD; Wed, 16 Mar 2022 05:10:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] hv_netvsc: Add check for kvmalloc_array From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164740741044.14141.8438133497735845995.git-patchwork-notify@kernel.org> Date: Wed, 16 Mar 2022 05:10:10 +0000 References: <20220314020125.2365084-1-jiasheng@iscas.ac.cn> In-Reply-To: <20220314020125.2365084-1-jiasheng@iscas.ac.cn> To: Jiasheng Jiang Cc: stephen@networkplumber.org, kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, davem@davemloft.net, kuba@kernel.org, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, kpsingh@kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Mon, 14 Mar 2022 10:01:25 +0800 you wrote: > As the potential failure of the kvmalloc_array(), > it should be better to check and restore the 'data' > if fails in order to avoid the dereference of the > NULL pointer. > > Fixes: 6ae746711263 ("hv_netvsc: Add per-cpu ethtool stats for netvsc") > Signed-off-by: Jiasheng Jiang > > [...] Here is the summary with links: - [v2] hv_netvsc: Add check for kvmalloc_array https://git.kernel.org/netdev/net/c/886e44c9298a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html