Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp726044lql; Mon, 11 Mar 2024 16:01:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXgQtgepHG1237G+/81agVPTomLBeQGKHZudn2ofYXil10nHdioKIIJSdFSdKcLH4jNHI8epnCHYb+OkkCSllKfapQDaABxUaCkP5LDoQ== X-Google-Smtp-Source: AGHT+IHxKn1uCAakRVjhV0mjufDFejHQ0Ko0603py6WzIzGHkTactWgY7ZBLpLQ0qUn58Xrj9NvM X-Received: by 2002:a17:90a:6bc6:b0:29b:e81e:80a7 with SMTP id w64-20020a17090a6bc600b0029be81e80a7mr8380628pjj.9.1710198060487; Mon, 11 Mar 2024 16:01:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710198060; cv=pass; d=google.com; s=arc-20160816; b=CXkSEXNYFW6xdPsW/UlRBOf89oB6PPX/egqkA6RwVPlvYI76Idnq5e8kfoaQUfAJrW U+K2B2eZdT6n8mdl1NrV4hx8AixBVvgTNxYIAoxVhbPMKyjufeo9ogYP53gN0CvC5Len yVvDmSLelYGG26JBkOhnQosKyW15Iyo/iyL7xnPWk/2/LLvs+HGOlJEc9jVqFKJ97Ysz 4d913y67ADX7KOHshz6ItrHp3yvMDi5XwO7OAlFFr8M6dO9bOv9plUyQs6DikcKAKNwm D3tvdGbEEUdj7UqUcw99Mpn27b+ZeWvbhU3PekIGdE89j2NigaNmMQjffmM6BhPzJfbt oc0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=29Yuy8GiWKzvqm2u0VIQTryo2mNliDQt6TcuKlCtqag=; fh=J2q9hx05fjBeRMA7VTl3Wa4N3qaDrYcfrtYbLPmu8hw=; b=mXDNA48XuXIAMHck42LI+V5uxfkiQzudVnaAhHodP9pB4437t/cUPr4/ahI+l3GTYP wlgeeTvKdCfAyiav/77hXPYnn4iphOrK5JSksGBduMaRrJ0S+uih83bsKUlCFrfc3VBc 0DW/RRBzclPdb+pzEGIuWOkzDVqvskxiek9NcE3fIAAA//NIWLhC5vnnqce3yqIMzsr4 z03jqL7Ne/j9nvIzC2PzIgnHBct4mkjsoXe7Wwoo+gS/+mVRaXNAjsuqMBVxCFRZW7JX HCcnwCe5wrBwIzEM89R0JScNwl8+lEo4y9Btv5cffrkmQTlko03Kj7Msn1Jo6BW8Jc0o oWTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gWv9maGO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99642-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g8-20020a17090adb0800b00299aeca6ae7si5743924pjv.138.2024.03.11.16.01.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 16:01:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gWv9maGO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99642-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 076492822B3 for ; Mon, 11 Mar 2024 23:01:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F080659B57; Mon, 11 Mar 2024 23:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gWv9maGO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F72258235; Mon, 11 Mar 2024 23:00:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710198033; cv=none; b=B56o+8bhJ7v47VNUkqBMuH0wDT+rAW1PnAzMTMpBMd6B5EI4opBbGh7btG4sN0tbtQ4lbs/z2UptLkjLW8T+CkABx3aN7cGJYgvZuA15CkkE5U2dJDnMLRduPuGwOmNZbp2HTdxbig46lQSpYjmmr+DTaCtDXeFa//tzMAVuBEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710198033; c=relaxed/simple; bh=wvuvXYzjxk58JdcgcdXsECnG0HdLz5CGghUzu7FS5OM=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=tGUG7ZAAPQRL2GkuFgCpmuUJx0iKr3OIbBKhNJ/ATi0JXjILKbhzHBB2IF65UgDxyubxsc8y7YvP8AVUwqBjUQm5erZvTeKeeF3kVxIYfOKQB0Gq8z9OE5C9HgYS5Eygwec0VYUEIh4/oI5mfc8OT5dk06rOsHNOdCQGSQzHaIc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gWv9maGO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id A97CAC43399; Mon, 11 Mar 2024 23:00:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710198032; bh=wvuvXYzjxk58JdcgcdXsECnG0HdLz5CGghUzu7FS5OM=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=gWv9maGOUempka0C+OWMdC8v81nFRo6xevJjuKgqR/n33Ah3U2cU3DNnX5CmFVKn1 ZaP6rvlLx8RkD9wVIwaTptBT6sWHwGvkOYe4wow44ee5HO4/mMl/edz6HVsquc0MTR Leez5yDJiY1skE55d22a9Wq+ClHvUCj1A6B5sKRVNrqAQYM5Lv8D4hyMIhscJXfckK K5CeRXB6W294qLMKrjkiz4CJP9Geiw0U4sH7NGBMXm4JsNq9NQg/k6WjdEtoxM7NaH MQ4fk73QEQnjbKmHY86P1nZuKOeP5JgSEg6X6xgMuxoCO58glkoVjX7onY7RQ9/uRv SQSqfGipvmoaQ== 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 8DDFCD95057; Mon, 11 Mar 2024 23:00:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] nfp: flower: handle acti_netdevs allocation failure From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171019803257.14238.8405013451298243885.git-patchwork-notify@kernel.org> Date: Mon, 11 Mar 2024 23:00:32 +0000 References: <20240308142540.9674-1-duoming@zju.edu.cn> In-Reply-To: <20240308142540.9674-1-duoming@zju.edu.cn> To: Duoming Zhou Cc: linux-kernel@vger.kernel.org, yinjun.zhang@corigine.com, netdev@vger.kernel.org, oss-drivers@corigine.com, christophe.jaillet@wanadoo.fr, horms@kernel.org, pabeni@redhat.com, edumazet@google.com, davem@davemloft.net, kuba@kernel.org, louis.peens@corigine.com Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Fri, 8 Mar 2024 22:25:40 +0800 you wrote: > The kmalloc_array() in nfp_fl_lag_do_work() will return null, if > the physical memory has run out. As a result, if we dereference > the acti_netdevs, the null pointer dereference bugs will happen. > > This patch adds a check to judge whether allocation failure occurs. > If it happens, the delayed work will be rescheduled and try again. > > [...] Here is the summary with links: - [v2] nfp: flower: handle acti_netdevs allocation failure https://git.kernel.org/netdev/net/c/84e95149bd34 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html