Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2669803pxv; Sun, 25 Jul 2021 01:34:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxycOTKAx0azazxxWH2NaaQ7hHmm1rSeKX/k7Bmu+pZL9g/Yzq/RHDnx42jzjZ4JoGrL0PO X-Received: by 2002:aa7:d746:: with SMTP id a6mr14895450eds.296.1627202074407; Sun, 25 Jul 2021 01:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627202074; cv=none; d=google.com; s=arc-20160816; b=SfNTQ+OzZp5Srrv+7UrtvHWIk9cftY1a+zYwBdNjB6BySFJ+21qEvpvp/zzvQyxT0y QufdSjnsmjqKXGtepsbZabE7LyIwDOCepCAKmITjq4g+VU7QhU/EGzjUap/Z+lCHkVFa zWA6jH0GKQEc2QuDdjYCNb77SKWzYtMxd9HkDE4J0nRYY+qKPlnVB1HMHQJ7DhsV9WRg mtN5CIHbfgZOqXb2K3sQEM36PvsU5oh3eqPj4uV6lDeB+8Uhfhvc/5aDK0z7LDPog7Uo ZNKJ8iBuAK7YrVF2NyD4ksIp4tAWeOJm8Jq1vbj9CQ6YrHi3MfeXNmeLpcqgN6jD6oN9 V+8w== 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=BienNoNRePNRXMPUM/4P8+7ffqIAq2c/vTzChQVmAJ0=; b=j7H57B/8naJNIP7ThZMS0oJkFC6KVhf1f1CQJSSCpWD5BjHumLuHkqep62momn6agg K449SkuF6xAmZjQCQ4+eq2Xud605F5djBdy/K0Cw83kiTJjpc4BC83T8Yv7EAPeHoVO9 4GXRobke9kMamLRONi2IyAd1rRoMvV/AekGLNCytXkOuJYcLU0ZPeSHXAyYtfLe+0Mo1 mi5W74AsOmSJMNmKz+5qxnVzd79/s30Y+O9Ssf/92IMTy6aTt9vP+zQXybfT/qD784UV aCR26zamvosq3tnBxi11mFlELDNX4Zh/8kWQDhXZ8y0M/bLQ9Q/LVfH/Sp05+Zp9MkSP jefQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="oO3l1l7/"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jp3si37198556ejb.706.2021.07.25.01.34.11; Sun, 25 Jul 2021 01:34:34 -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=@kernel.org header.s=k20201202 header.b="oO3l1l7/"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230411AbhGYHtr (ORCPT + 99 others); Sun, 25 Jul 2021 03:49:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:58600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230256AbhGYHtg (ORCPT ); Sun, 25 Jul 2021 03:49:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 41C0660F23; Sun, 25 Jul 2021 08:30:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627201805; bh=QLqGwEAr4CIfbDdOkedeMBDEei5Mv61JKzvIU/oyQI8=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=oO3l1l7/jnWN4JC0mi1Ob6quN2BASxoK/0f36YWYZAsVfaWkS8pFN9Bv/7nrhDbJD 5t+si9ADaSQ16fjQ4LsaqGl8pbzFhJZshrUE4MtOa/TgPkzsy2OAW8DGk6p7ZyEEoH U4+A4z6zx7wERIB2EetvATde+3Y9BLa+TkQ6IhWnCDqtBguu3MmiB8dieeJQolRXJp mJwsZxZ71o1Xa6KEeIhwioDwVkD0BqxEU3UF2cdmSszzdwgCkguqXXm21OvlnW+Rcs bhLBU3PzZmvNgkon0MQkM9aRTGQ8Om2mw67OER/xxs3V39apRaaKCmjG/oHdG5ujxg g6BxVFO6B/Yng== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 368B060A3A; Sun, 25 Jul 2021 08:30:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [net PATCH] octeontx2-pf: Fix interface down flag on error From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162720180521.26018.4602291131095083214.git-patchwork-notify@kernel.org> Date: Sun, 25 Jul 2021 08:30:05 +0000 References: <20210725075903.6426-1-gakula@marvell.com> In-Reply-To: <20210725075903.6426-1-gakula@marvell.com> To: Geetha sowjanya Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, lcherian@marvell.com, tduszynski@marvell.com, kuba@kernel.org, davem@davemloft.net, hkelam@marvell.com, sbhatta@marvell.com, sgoutham@marvell.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sun, 25 Jul 2021 13:29:03 +0530 you wrote: > In the existing code while changing the number of TX/RX > queues using ethtool the PF/VF interface resources are > freed and reallocated (otx2_stop and otx2_open is called) > if the device is in running state. If any resource allocation > fails in otx2_open, driver free already allocated resources > and return. But again, when the number of queues changes > as the device state still running oxt2_stop is called. > In which we try to free already freed resources leading > to driver crash. > This patch fixes the issue by setting the INTF_DOWN flag on > error and free the resources in otx2_stop only if the flag is > not set. > > [...] Here is the summary with links: - [net] octeontx2-pf: Fix interface down flag on error https://git.kernel.org/netdev/net/c/69f0aeb13bb5 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html