From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 92374A0559; Mon, 16 Mar 2020 09:47:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D322C1C02A; Mon, 16 Mar 2020 09:47:16 +0100 (CET) Received: from m13-215.163.com (m13-215.163.com [220.181.13.215]) by dpdk.org (Postfix) with ESMTP id 16B291C026 for ; Mon, 16 Mar 2020 09:47:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=o4KvB NaSVorAB0u+emeYz+CGioTFJBvSambmwyXjKBY=; b=fZDz2qsQN5gYe3yJE6j6a kAYbsqdrgfKJwzS3p/crpl3yuULwI+VshmNKcdmWn4eI3KogL8P0EpOSzapybfEu yOvsyPPjkZowiASsIL/RpjEPy1f3dICha6JP9TzR49hvE7bLNotrn6xzyAOY7k73 fuWZwdPJKKgF2fv3/lbWOM= Received: from zhongdahulinfan$163.com ( [113.108.226.41] ) by ajax-webmail-wmsvr205 (Coremail) ; Mon, 16 Mar 2020 16:47:09 +0800 (GMT+08:00) X-Originating-IP: [113.108.226.41] Date: Mon, 16 Mar 2020 16:47:09 +0800 (GMT+08:00) From: =?UTF-8?B?6IOh5p6X5biG?= To: "dev@dpdk.org" X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20180820(5a019900) Copyright (c) 2002-2020 www.mailtech.cn 163com MIME-Version: 1.0 Message-ID: <617cfc08.4de6.170e2867b99.Coremail.zhongdahulinfan@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: jMeowACHxakNPW9eHqEAAA--.5857W X-CM-SenderInfo: x2kr0wpgdk3zplqit0i6rwjhhfrp/xtbBZAbo5VQHI0b2NgABsY X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [rte_ethdev] mac_addrs as part of dev_private may cause primary process crash 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" SGkgYWxsLAoKCnN0cnVjdCBydGVfZXRoX2Rldl9kYXRhIGhhcyBhIG1lbWJlciBuYW1lZCBkZXZf cHJpdmF0ZSBhbmQgYW5vdGhlciBuYW1lZCBtYWNfYWRkcnMsIGFzIHNob3duIGJlbG93OgoKCnN0 cnVjdCBydGVfZXRoX2Rldl9kYXRhIHsKLi4uCnZvaWQgKmRldl9wcml2YXRlOwovKio8IFBNRC1z cGVjaWZpYyBwcml2YXRlIGRhdGEuCiogICBAc2VlIHJ0ZV9ldGhfZGV2X3JlbGVhc2VfcG9ydCgp CiovCgoKc3RydWN0IGV0aGVyX2FkZHIgKm1hY19hZGRyczsKLyoqPCBEZXZpY2UgRXRoZXJuZXQg bGluayBhZGRyZXNzLgoqICAgQHNlZSBydGVfZXRoX2Rldl9yZWxlYXNlX3BvcnQoKQoqLwouLi4K fTsKCgpTb21lIGRyaXZlcnMgbGlrZSBtbHg1IGltcGxlbWVudHMgbWFjX2FkZHJzIGFzIHBhcnQg b2YgZGV2X3ByaXZhdGU6CgoKc3RhdGljIHN0cnVjdCBydGVfZXRoX2RldiAqCm1seDVfZGV2X3Nw YXduKHN0cnVjdCBydGVfZGV2aWNlICpkcGRrX2RldiwKICAgICAgc3RydWN0IGlidl9kZXZpY2Ug Kmlidl9kZXYsCiAgICAgIHN0cnVjdCBtbHg1X2Rldl9jb25maWcgY29uZmlnLAogICAgICBjb25z dCBzdHJ1Y3QgbWx4NV9zd2l0Y2hfaW5mbyAqc3dpdGNoX2luZm8pCnsKLi4uCiAgIC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