From patchwork Sun Sep 12 16:34:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 509687 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY, MIME_NO_TEXT, SPF_HELO_NONE, SPF_PASS, T_TVD_MIME_NO_HEADERS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A156C433F5 for ; Sun, 12 Sep 2021 16:35:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 018DF60BD3 for ; Sun, 12 Sep 2021 16:35:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233391AbhILQgT (ORCPT ); Sun, 12 Sep 2021 12:36:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbhILQgS (ORCPT ); Sun, 12 Sep 2021 12:36:18 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A95EC061574 for ; Sun, 12 Sep 2021 09:35:04 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id 17so7096873pgp.4 for ; Sun, 12 Sep 2021 09:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=zTlLhjwGaSp6XBAvUyS0w5Hv109th1SGEjI4pJakCzE=; b=f6EmT+y1E3ZD7dph7e/dMZuZheUMNg571PMc/uaWJZmcBZPRsHXPpl8a5hn5gQjmAt ujGbK5j5KGWux4rSta+b5oIh7Bv6u8XNPGNIygNqBONVH51leL3LnJdzzAi8asvM/GGt hfmIciaPHd7WVDksg54xTmZZSU0g4j6F3osOw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zTlLhjwGaSp6XBAvUyS0w5Hv109th1SGEjI4pJakCzE=; b=uTODNkWMnsdIGsix63x3vEEL5M0eZPu+WzPnSPoaHhqGx251Ll+MQTR1G4i8BnFNm1 vPaItFRIOmRbLT6lD8aFtaI1tvmgbU9++Cd1M4GA/Z8h36IwBsmgRSyMd50WSc0ocX59 qlRwSIi2n2Mse7ZpDxIdodhGm9KQM+wRilqjx5LTKkT/5bw8RCZgymd2hKV7gnX7BGzL zyRWk6PjEdEMPO9BcY3Rd3eKGPuPZwvAXrfOUyEOeVZzlf1TWGBN5PSZqXJEB8LjRk1C kMdduSmkLsuSGcvrdZhLJqO9KrykdC8XjE/HaVbLFONW2ebuIOh3PHUveAbfrBs5CEZs yBtQ== X-Gm-Message-State: AOAM531oHG4DyYvJV3iRSn3EKr/s0etKixMY5Xd1M4vfccAkv2Bqzc8m RoRS2BjPlDbaBf+op7yrzisyWi8NEaVHbA== X-Google-Smtp-Source: ABdhPJy+cTfgIVSHf9lktK58kzS1bXqhCh7Zh3Ya49O04+u6zwhUKSWCVObHB6eKEL6PNNJz1NWS5Q== X-Received: by 2002:a63:e64a:: with SMTP id p10mr7339477pgj.263.1631464502927; Sun, 12 Sep 2021 09:35:02 -0700 (PDT) Received: from localhost.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id l22sm5444224pgo.45.2021.09.12.09.35.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Sep 2021 09:35:01 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org, edwin.peer@broadcom.com, gospo@broadcom.com Subject: [PATCH net 0/3] bnxt_en: Bug fixes. Date: Sun, 12 Sep 2021 12:34:46 -0400 Message-Id: <1631464489-8046-1-git-send-email-michael.chan@broadcom.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The first patch fixes an error recovery regression just introduced about a week ago. The other two patches fix issues related to freeing rings in the bnxt_close() path under error conditions. Edwin Peer (1): bnxt_en: make bnxt_free_skbs() safe to call after bnxt_free_mem() Michael Chan (2): bnxt_en: Fix error recovery regression bnxt_en: Clean up completion ring page arrays completely drivers/net/ethernet/broadcom/bnxt/bnxt.c | 33 ++++++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-)