Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp424683rdb; Thu, 15 Feb 2024 04:41:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUQvjhAggFFdRaaKv4O6xuwKS/X3JbVUyPVkorZYKCZ182SeeqEjJqp+JSUYdI/kK8Q1gfxtxoyEcoshnZP6FBuoMCwwSWxKuH68AWumg== X-Google-Smtp-Source: AGHT+IGn5Kz/7ioeqfXmTM7vlXcygd2r34aXShwq++8cYz6MlJVN8lQYJsZsCjNKYNKjZgEyfPII X-Received: by 2002:a17:90a:7788:b0:297:f09:fe08 with SMTP id v8-20020a17090a778800b002970f09fe08mr1802296pjk.0.1708000879377; Thu, 15 Feb 2024 04:41:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708000879; cv=pass; d=google.com; s=arc-20160816; b=E6ZjEBDCIuzz0vRP9MgwsIgVc70d6IficT3tG+SIlUwo5XFYyh4ZuS7+uQCkew5Jby FHdMs9IIv5155PaLUbOJOFD3rRlyEyCXppFiEabxj6CCh/PeKVvau40zBPSEVOrvhsTy Dc2XxiKN937qEQiLFKGJaLjMm4UMTwjmhE6mh9dk12Gp+M+2JyrcFsQCIwst9mxaDX51 QjKk2gQnaKSoNCM7bpJ+FaakporYYymabw1u6u+iMvd/nigcAcoP9+00r2/y2bowWRLK MXrBNojnO/oN8pVdezRG2u52Kq1P2nS514Hk6V3YnB74FwoGIsnS5RGUOqtTVpAcLEau U1VQ== 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=0hWIg+3s+kJ2fxY2kq3JqJo/uxhV3Rw1hNZRb7Dubkc=; fh=EXfGcJLiNQGIX2C5WRlBgmR6eLbH4SG7rLWLfpPoq/E=; b=m9365lC6/ybq1KXfkHBLXwRUxf2j4sFIn5BeftSyVphAEffdp6qmX1HjyI2IYQQFXk 2mEX9czhfD4ascy496t8zaOie6kiaRvMX2ontP2CCULcBiIzifXUe+Hu4yCYh/ptUoFE Nszs5N2rvNfsDdS7wGOxEVclYJmE0hECyWeCpMTnyVn5IFe14gQtBy11gcKTRlKTy/QR TWyZ4k7E/8uQ+itG3o/rabozJscd8piianP46KRI5+GPGYDUfCEum/uYUXIz3zOHQDI2 yIW9X63qtNGmsMUTx+j5kufTFvP1V2nFwy5VV+3/QUX94Rv8zyEbBP/IdeEDI58xfASW 5o6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kcyDV74M; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-66906-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66906-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. [139.178.88.99]) by mx.google.com with ESMTPS id z20-20020a17090ad79400b00298b7aea622si2915145pju.108.2024.02.15.04.41.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 04:41:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66906-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kcyDV74M; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-66906-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66906-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 D700C288BEF for ; Thu, 15 Feb 2024 12:40:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E269B12D75B; Thu, 15 Feb 2024 12:40:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kcyDV74M" 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 13FF312CD80; Thu, 15 Feb 2024 12:40:26 +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=1708000827; cv=none; b=KLYvqU0kKJu6MY+PpVgu/q5ZawYEkerFT+ajq5uXsnuJnh1KbuEAyVEADbSQIoWDb+sX8ifL0gzNdA2CVYyVBSEdMLWAsk9DWWUzBZg+wbVdC7NqMv+tPx6+9oWA/59xf/N39bZhOR+gEsLrtIRZYowsABEe2d1B2ORs7vnpggs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708000827; c=relaxed/simple; bh=93NFgxagbaSIqUl1DCES332PMG6zuiVgh/ky5VxmbgQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=QTIfK+MMuCpOaI+jR2kQwNJLyueXUIh+U2ksu4aInKtf8+pdXFrP4J0fup6lSTkJCnsONuK9JZ0MVME/QOPSipxhcjDW0UyMB2Wh81+i0ZYuFHpUgDOTUZI6HgnupbcXCGXdzClWoR6X4BcgGqMY+AaMjCzoZV2JpoUhPxuh9qc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kcyDV74M; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 89A11C43390; Thu, 15 Feb 2024 12:40:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708000826; bh=93NFgxagbaSIqUl1DCES332PMG6zuiVgh/ky5VxmbgQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=kcyDV74MQ8YqsBypex6/67QB+C2xlOn0JDdWPD+VovgOTUQnS8goFFCwazfWa/ot9 SAHYX7L9jUzzUDAxGpNOPzu6E61/8ujS/ohzjO6QrGLYv3p9PjAo1qh73QitCSb20A R5RNJ7YjKRLwQL4G9e44YAJEvXd40bg8Sd0s8CfnmWL0QQrG2ucqmZTBsXh3mhfC7k HiZgjYev3ZlLLeDw7PqXUUk3uA2a3LEwmK2+A6NlWdTqERd14Bsn5tE6h8jLriX9pr +16MbFzE8TROMqcXksuQbXkRa9cXFSMuQhMtMKu3//s13cKa4B8nN0Eq8Fns21dgKZ 4Z8rOQs20UNsA== 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 70754D8C97D; Thu, 15 Feb 2024 12:40:26 +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 net] net: bcmasp: Handle RX buffer allocation failure From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170800082645.17816.14918539012782696298.git-patchwork-notify@kernel.org> Date: Thu, 15 Feb 2024 12:40:26 +0000 References: <20240213173339.3438713-1-florian.fainelli@broadcom.com> In-Reply-To: <20240213173339.3438713-1-florian.fainelli@broadcom.com> To: Florian Fainelli Cc: netdev@vger.kernel.org, justin.chen@broadcom.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Tue, 13 Feb 2024 09:33:39 -0800 you wrote: > The buffer_pg variable needs to hold an order-5 allocation (32 x > PAGE_SIZE) which, under memory pressure may fail to be allocated. Deal > with that error condition properly to avoid doing a NULL pointer > de-reference in the subsequent call to dma_map_page(). > > In addition, the err_reclaim_tx error label in bcmasp_netif_init() needs > to ensure that the TX NAPI object is properly deleted, otherwise > unregister_netdev() will spin forever attempting to test and clear > the NAPI_STATE_HASHED bit. > > [...] Here is the summary with links: - [net] net: bcmasp: Handle RX buffer allocation failure https://git.kernel.org/netdev/net/c/e5b2e810daf9 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html