Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1174761rwi; Thu, 27 Oct 2022 12:12:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7rq3GBEMzavMgtxfu1iVsNbdN259FkJh/B4BUWe+Qd1YF6dUsPpXaqglC6Ash3jZ3ZQcuC X-Received: by 2002:a05:6402:2409:b0:456:f97b:3794 with SMTP id t9-20020a056402240900b00456f97b3794mr47176058eda.145.1666897933916; Thu, 27 Oct 2022 12:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666897933; cv=none; d=google.com; s=arc-20160816; b=Gye8zgaVgtTtNpcpWin5MOdbzBdY2cIEFWVSqVKcXhECTdLUaUcd+WehBa1ebPoFEs T2HeyrzoR2lvtqoZRIQ9bRv2sEoPqhOAsRTCwIpvu1Inb/fZZUNcJH6uckdHuOn8ILXI 8XffWmiiEv4cXp0S5fK6qWg9S4TAwwnw/bddl0sK8WjLWWuJtRneWao1nropvcb+Y+bh /rz7TI3wFL3KzCPttEIcxSf5PbfZA5Mg4mx3Lg4qasrjUC59/uLe6VuXcXwicSPpafbx 7MWc+i2ulxrHcmlwpKJjsxSnF77iwKybrCdxUwlD+YWaf0aqOE+bMIO7jzzCKrE3RMsY VxvQ== 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=BZd+8r9ZkOkYl5PQECAK2pGQyuOWQlf49KZn+TnzaXc=; b=OcudEX2ioeVEIdTTaiB/D0Fs4YYAmcLv5xkOJ1izQ/TUhEm2DTs89x5yY4Fs2XGnSF t26PKywyvIM3uq76hlr0GzdxhpumT0vuEvY2kf2pBA+bZNi+UkFxJcQ4udiUmjIzh6MK d0PZmNat4odwcjFC7JMzN7iS4jOZ3UzlrJzaU5skAQswt4HgWLQwIahyHMVTWzUQDb/7 SDvrMN/FcsEylJ1Dk4Wb3pMfpkebR+0TZCKiiPKuRQr7NhcfGdCcr5zgFbSdUlGw9+YH MG6xUiYxRIhwu80zwyHUpB6EFLt5OXNEJcYOx7dM0jGZjlr7pbL+x4IynjMJJOS5cDRj nbcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WfESKa6J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd13-20020a1709069b8d00b007ad7e81a30csi2680152ejc.167.2022.10.27.12.11.46; Thu, 27 Oct 2022 12:12:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WfESKa6J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236021AbiJ0SkY (ORCPT + 99 others); Thu, 27 Oct 2022 14:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235509AbiJ0SkX (ORCPT ); Thu, 27 Oct 2022 14:40:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 944E910B54; Thu, 27 Oct 2022 11:40:20 -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 4754BB82762; Thu, 27 Oct 2022 18:40:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id DEBF1C433C1; Thu, 27 Oct 2022 18:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666896017; bh=5Ci6ZUqYtCVT5GXsTDVEvoE9+O7nPDOSCll8y54KQr0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=WfESKa6JGawOt/6ivZcVZIks7tmxQEl6ceNKn3GmgEWXdpsddMBpHy+YGYzomUsst 5T+WRYBYIx69EwJLKbZJvvOuE7U6CSWukBw8cfrdoMvaeMXC21Os672kJvHH8Bvy4k muvpJO7LtDf3M7ADgbUCeO3frbh3baezQoQrkZB01FFZfU5+kMF/+O4xgZCYWYqj0W bf8OviOIFvHHAnYJQzHBDLVgFn6aUvE59faWmvTFTvEWQkVfQlER7OaNxsVMV7qK3Z Mu3BmLU2wjC3EeGUaZnP8W5J7Zmp/r95AKskkgWUzb6T4ziwRK4Lkd/VDapCCbcKTd MtLEyUjlo6Q3A== 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 BEE8FE270D9; Thu, 27 Oct 2022 18:40:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3 net] net: enetc: survive memory pressure without crashing From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166689601777.10145.516219090258177018.git-patchwork-notify@kernel.org> Date: Thu, 27 Oct 2022 18:40:17 +0000 References: <20221027182925.3256653-1-vladimir.oltean@nxp.com> In-Reply-To: <20221027182925.3256653-1-vladimir.oltean@nxp.com> To: Vladimir Oltean Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, claudiu.manoil@nxp.com, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Thu, 27 Oct 2022 21:29:25 +0300 you wrote: > Under memory pressure, enetc_refill_rx_ring() may fail, and when called > during the enetc_open() -> enetc_setup_rxbdr() procedure, this is not > checked for. > > An extreme case of memory pressure will result in exactly zero buffers > being allocated for the RX ring, and in such a case it is expected that > hardware drops all RX packets due to lack of buffers. > > [...] Here is the summary with links: - [v3,net] net: enetc: survive memory pressure without crashing https://git.kernel.org/netdev/net/c/84ce1ca3fe9e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html