From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <remy.horton@intel.com>
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id A3510DE5
 for <dev@dpdk.org>; Wed, 25 Jan 2017 15:38:04 +0100 (CET)
Received: from fmsmga003.fm.intel.com ([10.253.24.29])
 by orsmga102.jf.intel.com with ESMTP; 25 Jan 2017 06:38:03 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.33,284,1477983600"; d="scan'208";a="813191891"
Received: from rhorton-mobl.ger.corp.intel.com (HELO [163.33.230.15])
 ([163.33.230.15])
 by FMSMGA003.fm.intel.com with ESMTP; 25 Jan 2017 06:38:02 -0800
To: Thomas Monjalon <thomas.monjalon@6wind.com>
References: <1485270071-5407-1-git-send-email-remy.horton@intel.com>
 <c8dc49a5-4f45-5a58-046a-c3c8b4707116@intel.com> <2965971.1Bfi2jm78h@xps13>
Cc: dev@dpdk.org
From: Remy Horton <remy.horton@intel.com>
Organization: Intel Shannon Limited
Message-ID: <4bf9bd6c-c1d0-95e8-1865-6f04d805b98b@intel.com>
Date: Wed, 25 Jan 2017 14:38:02 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <2965971.1Bfi2jm78h@xps13>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH v2] ethdev: fix multi-process NULL
 dereference crashes
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jan 2017 14:38:05 -0000


On 25/01/2017 14:31, Thomas Monjalon wrote:
> 2017-01-25 14:02, Remy Horton:
[..]
>> Self-NAK: Condition is now tautology on code path that was causing crashes
>
> What do you mean exactly?

There is an if(rte_eal_process_type() == RTE_PROC_PRIMARY) in a calling 
function, so the one my patch was introducing is now redundant.

..Remy