From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 01F2FC433E2 for ; Thu, 17 Sep 2020 15:09:14 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 5DFC820708 for ; Thu, 17 Sep 2020 15:09:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5DFC820708 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 46D251D67A; Thu, 17 Sep 2020 17:09:12 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id F20C51BFCF; Thu, 17 Sep 2020 17:09:10 +0200 (CEST) IronPort-SDR: okP8VbAxxfWCOUq8jhutKt7sJwdS8vsUy0pA6qRU6v0V5DreqJFMXAStMyn5KKosKS4DYbcK5R 66f75cZj8Q2g== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="159018609" X-IronPort-AV: E=Sophos;i="5.77,271,1596524400"; d="scan'208";a="159018609" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 08:09:07 -0700 IronPort-SDR: KBd/hjQBcx+bcaGzDOWDSah8VQXiPhWSDV28MYReY9wSRVX26UsNyTBDdzLgV0opMwEsv/DQlO fcdjvgS9dESw== X-IronPort-AV: E=Sophos;i="5.77,271,1596524400"; d="scan'208";a="483782560" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.228.143]) ([10.213.228.143]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 08:09:06 -0700 To: Rahul Lakkireddy , dev@dpdk.org Cc: brian90013@gmail.com, kaara.satwik@chelsio.com, stable@dpdk.org References: <1598980809-19942-1-git-send-email-rahul.lakkireddy@chelsio.com> From: Ferruh Yigit Message-ID: Date: Thu, 17 Sep 2020 16:09:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <1598980809-19942-1-git-send-email-rahul.lakkireddy@chelsio.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/cxgbe: fix segfault when accessing empty Tx mbuf list X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/1/2020 6:20 PM, Rahul Lakkireddy wrote: > Ensure packets are available before accessing the mbuf list in Tx > burst function. Otherwise, just reclaim completed Tx descriptors and > exit. > > Fixes: b1df19e43e1d ("net/cxgbe: fix prefetch for non-coalesced Tx packets") > Cc: stable@dpdk.org > > Reported-by: Brian Poole > Signed-off-by: Rahul Lakkireddy Applied to dpdk-next-net/main, thanks.