From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v1] ethdev: fix multi-process NULL dereference crashes Date: Wed, 11 Jan 2017 15:22:10 +0100 Message-ID: <2497925.MaStIBMC1a@xps13> References: <1484073764-15001-1-git-send-email-remy.horton@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Remy Horton Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id B4A6D5A44 for ; Wed, 11 Jan 2017 15:22:06 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id c85so159156358wmi.1 for ; Wed, 11 Jan 2017 06:22:06 -0800 (PST) In-Reply-To: <1484073764-15001-1-git-send-email-remy.horton@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-11 02:42, Remy Horton: > Even though only primary processes should setup PMDs, secondary > processes were also blanket zeroing ethernet device memory. The > result was NULL dereference crashes in multi-process setups. > > Fixes: 7f95f78a8aea ("ethdev: clear data when allocating device") I think it can be fixed by this patch: http://dpdk.org/ml/archives/dev/2017-January/054220.html