From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=BhP0faN4tu/Sx5ioCaGhrp+UEYiukqKULpSRp93gSXY=; b=b5Pw3H9d3o8n4tCQr2l0E/c0y0lhipkICfEbXdv8hyMSOWfBEAstwMGN2A6yRQFsun AvaujXuNLE3Np7Bx3CrAX6NQklPWsUCIflT0QlX/2cn1AQgDRmnOB/gmXn+6mQwSO+Ou nRLqnYwXRk8ufXLu9oK9dmMF6V8ZQImI3Gbk5DqNhbV5ndFs6e/q0WlAfYUf7L3HelJO h0FkvX9DyWQyQYN5p+2mmugEfuahyFghQb0YZ2SWgn4J11G6yCpR7Z1mE/4r/lOqbYJZ uZ8rvAsLhTp5IqgMfstlu78Kr6As/fkbiqvSlgX7Fu7zDsPcs+50RO/U9fliO77b7b5A IX2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=BhP0faN4tu/Sx5ioCaGhrp+UEYiukqKULpSRp93gSXY=; b=GR2IYkrxna7M4AXyqSmUk+ymwRfDK3pglojg+u7/EbTQrmHuGnxGaJ8o7wERvHWLko 3I1iy4FGNSAFqn7t0SjIhD9poe1CPkulLbUk9FVG2IkgwPW/rVZsz7ip6Be2MJ0r44Kz Gjm0bOcwYEyptC7TunvhRBloxVFN+qnJaF980N7AtcwC7iL+AzLPI/lNfH6fPl1B//4n tdqGZIZYq+tGW7S125JtB4Hl6UKzt8Q4TkuA0FVcMNpmJe7lHnq+Is+vpcj/vWjzUc5C 53xlP2OX1MfL0VUBZwTfN7iQdPiaXGJ5Scm6GQGQFa8kjzCk+iEpuIEUFyBH8DzdSOXs YfaA== X-Gm-Message-State: AIkVDXIVFL4yAUadV/Y+jByRKzN7UeIzO9hQYj2yFuYwOfacCySymqDNpYPnEUZ1XOYr8qEb X-Received: by 10.28.21.206 with SMTP id 197mr2890963wmv.128.1484144526434; Wed, 11 Jan 2017 06:22:06 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id d64sm30036606wmh.3.2017.01.11.06.22.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 06:22:05 -0800 (PST) From: Thomas Monjalon To: Remy Horton Cc: dev@dpdk.org Date: Wed, 11 Jan 2017 15:22:10 +0100 Message-ID: <2497925.MaStIBMC1a@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1484073764-15001-1-git-send-email-remy.horton@intel.com> References: <1484073764-15001-1-git-send-email-remy.horton@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 14:22:06 -0000 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