From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 412CB6C94 for ; Mon, 10 Oct 2016 17:24:20 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP; 10 Oct 2016 08:24:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,324,1473145200"; d="scan'208";a="18525972" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.123]) ([10.237.220.123]) by orsmga004.jf.intel.com with ESMTP; 10 Oct 2016 08:24:17 -0700 To: Ajit Khaparde References: <20160929170344.GA52223@C02PT1RBG8WP.aus.broadcom.com> <5d20127c-edda-8c9a-c759-3ab2f9c7734a@intel.com> Cc: dev@dpdk.org From: Ferruh Yigit Message-ID: <91ebdd13-b556-dc9b-5488-a38483b16733@intel.com> Date: Mon, 10 Oct 2016 16:24:16 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH 2/4] bnxt: Fix a segfault encountered during KNI exit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2016 15:24:20 -0000 On 9/29/2016 8:06 PM, Ajit Khaparde wrote: > On Thu, Sep 29, 2016 at 12:41 PM, Ferruh Yigit >wrote: > > On 9/29/2016 6:03 PM, Ajit Khaparde wrote: > > The bnxt PMD is running into a segfault when exiting out of KNI > > KNI? > > examples/kni > > ​On closing the kni app, I am seeing a segfault.​ because of improper > cleanup of resources > in the dev_uninit path. So this is mainly related to driver exit, KNI app is just a way to reproduce it. Are you OK with following update in commit log: " net/bnxt: fix a segfault encountered during PMD exit This patch fixes segfault encountered during dev_uninit/close routine. KNI sample app can be used to reproduce the issue. "