From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C84A6A0524 for ; Thu, 3 Dec 2020 17:44:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C2286C926; Thu, 3 Dec 2020 17:44:09 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id CF5CFC926 for ; Thu, 3 Dec 2020 17:44:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607013845; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BaJqzbaRWCpUHsoDuikTUdjhzniGrFQywY0JdQkQwZc=; b=aSmSKoypoI+CueNbYP3qgY9+ZUOz96KEnQZyCm+n4NHmQkeOkr1xWWTlj0GPoyE3AC5qGA N2Hu507il8jopGcua1nOrXBmcqwyHZ1uLrzARnS1aJSQRa+fmC2KasyMleh8qOLPQpOPPz FJU/rvRmyPDOFxe1WjvMOOMK7EhJpBM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-93-qozhaoJRNcKXuLp-LGufyg-1; Thu, 03 Dec 2020 11:44:01 -0500 X-MC-Unique: qozhaoJRNcKXuLp-LGufyg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6D528107ACE3; Thu, 3 Dec 2020 16:44:00 +0000 (UTC) Received: from [10.36.114.167] (ovpn-114-167.ams2.redhat.com [10.36.114.167]) by smtp.corp.redhat.com (Postfix) with ESMTP id A35A160854; Thu, 3 Dec 2020 16:43:59 +0000 (UTC) To: Somnath Kotur , stable@dpdk.org Cc: Ajit Khaparde References: <20201203043259.3423-1-somnath.kotur@broadcom.com> From: Kevin Traynor Message-ID: <93b020b0-c6cf-893a-ced0-f48f3387767a@redhat.com> Date: Thu, 3 Dec 2020 16:43:58 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201203043259.3423-1-somnath.kotur@broadcom.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH 18.11 1/2] net/bnxt: fix checking VNIC in shutdown path X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 03/12/2020 04:32, Somnath Kotur wrote: > [upstream commit 4b029f02de3a0ce9cdd9a3475b84ca2e42d74281] > > Add a couple of NULL pointer checks in bnxt_free_all_filters() > and bnxt_free_vnics() respectively to guard against certain error > injection/recovery scenarios where it was found that the application > was crashing with the bp->vnic_info pointer being NULL. > > Fixes: 51fafb89a9a0 ("net/bnxt: get rid of ff pools and use VNIC info array") > Cc: stable@dpdk.org > > Signed-off-by: Somnath Kotur > Reviewed-by: Ajit Khaparde Applied series, thanks.