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 B33A0A0577; Wed, 15 Apr 2020 08:01:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5600A1C1E9; Wed, 15 Apr 2020 08:01:38 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70079.outbound.protection.outlook.com [40.107.7.79]) by dpdk.org (Postfix) with ESMTP id 79C9E1C1B3; Wed, 15 Apr 2020 08:01:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dt25amRYUsVV+JE7/MT6EG0RKGHwqWenlL1Sk2b5PtOkimXT2ZRykNlh/y6Q2mwDM+IMdXGOoziAraCYX0dtpvHyH8IW/yxYXA8nEY5YbJEi9RJHGakUahsttYGCNwzgGeKjTcJQl0vQFCwCiTpdXsXE0iUixjQ2VJz8t5PGPZMolTzmqvzR2XmOOT2pZAoQzvvvceK3HRnb1t8gJD7E/BisIk+TZiNYqwuOqO4aVaVQi9PjM7FHEbcKNFsff+rx3fs33rsBXCVcYAK0W/VfKKLKnlDVoRYZdFIWBxQQniGi3/tOKh20Nd2q2mkCw5UNnY8UGsl4tUyZT7UgJZqQTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VlW7L1jmrMZ+bEexG40H0loIF+JVGjAuH2Va8yQh49M=; b=FcdUMTeTkIXUZ1t1fJ6iTVGZRt0oYxS7e5RBzhgUfRknzqWAo3XoD/bpTV+lDeWZ3bJPdAOh6m7v6L/jc59LBKduppR+kGBW4AyPWhWP55aSWXRJrilSv+loAKkKMIKtgx7ah7y/jStQZKLPV276PJN5ask5+4+WYQki/tEXHbjJgUYDG8/namEF5S1aaR/AVRiN+TJbrgy24Qq+BYVU4C4jTfz6VQBs15hdpduoOOD0qIAhxoC4j/tiF562lnXROXCQGSMkZGsNM1ei9SKCHNcQw8eE/qFxLJyDKOF7L6g8civiA5rRkXAENsXlBTJTr8CPaCoMgaqM6H/iVzUP4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VlW7L1jmrMZ+bEexG40H0loIF+JVGjAuH2Va8yQh49M=; b=ltM+X/K/DwmigsdpZhgeHYawxCDXwxDbBYdF+5vAa2te86DYK8RnFhCM+ts7zIsCIW0kOWDvBVwiAl9ac0njo5zu/Q+XWFLsevGdJsRUoQKU4A8TfAIWOufsYR1mdDcazfS8zH+sINdmDMBpxzC1vVNxxGldL2SrwBeCgAJJhTE= Received: from HE1PR07MB4284.eurprd07.prod.outlook.com (2603:10a6:7:9f::29) by HE1PR07MB4313.eurprd07.prod.outlook.com (2603:10a6:7:97::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.23; Wed, 15 Apr 2020 06:01:34 +0000 Received: from HE1PR07MB4284.eurprd07.prod.outlook.com ([fe80::542b:7b22:1f38:d985]) by HE1PR07MB4284.eurprd07.prod.outlook.com ([fe80::542b:7b22:1f38:d985%5]) with mapi id 15.20.2921.024; Wed, 15 Apr 2020 06:01:34 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: Tonghao Zhang CC: David Marchand , Stephen Hemminger , dpdk-dev , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH dpdk-dev] rte_random: fix crash when random init Thread-Index: AQHWENA0Dh4A/m9z7k2+4UheFHeda6h4AqcAgAAKSoCAAJAsAIAABGyAgAAiHACAAIdRgIAAagqA Date: Wed, 15 Apr 2020 06:01:33 +0000 Message-ID: References: <1586680073-11075-1-git-send-email-xiangxia.m.yue@gmail.com> <20200413210658.2308b86e@hermes.lan> In-Reply-To: Accept-Language: sv-SE, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=mattias.ronnblom@ericsson.com; x-originating-ip: [90.232.178.253] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 15d9d75b-82cb-40ca-3dd2-08d7e102738d x-ms-traffictypediagnostic: HE1PR07MB4313: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0374433C81 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB4284.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(346002)(136003)(376002)(396003)(39860400002)(366004)(81156014)(316002)(31686004)(36756003)(71200400001)(85182001)(6506007)(6916009)(186003)(66946007)(53546011)(66446008)(66476007)(26005)(64756008)(8936002)(54906003)(478600001)(66556008)(6486002)(966005)(85202003)(76116006)(8676002)(6512007)(2906002)(4326008)(31696002)(86362001)(5660300002)(2616005); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DQk8fcSf1V5z8o0/vKVRC88fjaxKryHBABE0piVvcO1O3l/IheDmdJlsVHe13kTkN4bpemhA332Y87zvPYo21AD+DvXOhHBvEUxm0gOwNKL1WQZVFAusryMn8oTVbYEquanDY+Go8s7kGbAQPO+5prEiH5C1sVjaZClJO6h9UPdxb/nctdCOH7l20bjl5iJK8GfG3W1e2N80IiByL4kG6AZFUEUr8c5I9MBQdv78VM+H4tl64/VMmy3HuKafdn89LKWrUbLrFsEFOrgTNXdSNJc0/TfKwrUEpHwNf+ZnOkcVpLCoo7WKbByeGxuK34zBLX5uTnCs1UTqZgYcSH/MqGMlI0Dh3kaCRg+16ZcfWlP5wtQFeOiGsxxw3Qt816Ie0xJtgrEK0T7454cL2EcBSV8s6uBUBweYir+dlqrGYl+PKQRJ1vy2F8i4+66mwScpuzshmX/ROvy0rj/Cr+oxbaw9/j+bql+c1vljayHbtviAsE3apfO4FuSKRQFVDr4sf9JwTg1KyJtKqqLt7ZGqCQ== x-ms-exchange-antispam-messagedata: oGHImkM10eaSYoKQbwBkIsw2I9YUZuCWqcK9sLtp+80aSITBor/FXB34U6imDgFGu+B6HT/Z/y6qo+sLcP8/xBOK16BahhJL4DZHMloKtqhyxAM+e28RiToG1SXhrS3Ze4orFkKTYaWyrbn4bpfsTg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <9D67B4C77CA80F488EFE68A1DB4C0555@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-Network-Message-Id: 15d9d75b-82cb-40ca-3dd2-08d7e102738d X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2020 06:01:34.0025 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lWghp6VK1Ro5Q6hNH7LGWVmKmTRyBSfp7gmU3ZZarUNIhrwOLEU1WS0vA1khSm278efYEnNlG/tzS92nMoDrVEN8nC7TcljGLxgD2vMnN0Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4313 Subject: Re: [dpdk-dev] [PATCH dpdk-dev] rte_random: fix crash when random init 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" T24gMjAyMC0wNC0xNSAwMTo0MiwgVG9uZ2hhbyBaaGFuZyB3cm90ZToNCj4gT24gVHVlLCBBcHIg MTQsIDIwMjAgYXQgMTE6MzcgUE0gTWF0dGlhcyBSw7ZubmJsb20NCj4gPG1hdHRpYXMucm9ubmJs b21AZXJpY3Nzb24uY29tPiB3cm90ZToNCj4+IE9uIDIwMjAtMDQtMTQgMTU6MzUsIERhdmlkIE1h cmNoYW5kIHdyb3RlOg0KPj4+IE9uIFR1ZSwgQXByIDE0LCAyMDIwIGF0IDM6MjAgUE0gTWF0dGlh cyBSw7ZubmJsb20NCj4+PiA8bWF0dGlhcy5yb25uYmxvbUBlcmljc3Nvbi5jb20+IHdyb3RlOg0K Pj4+PiBPbiAyMDIwLTA0LTE0IDA2OjQzLCBUb25naGFvIFpoYW5nIHdyb3RlOg0KPj4+Pj4gT24g VHVlLCBBcHIgMTQsIDIwMjAgYXQgMTI6MDcgUE0gU3RlcGhlbiBIZW1taW5nZXINCj4+Pj4+IDxz dGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZz4gd3JvdGU6DQo+Pj4+Pj4gT24gU3VuLCAxMiBBcHIg MjAyMCAxNjoyNzo1MyArMDgwMA0KPj4+Pj4+IHhpYW5neGlhLm0ueXVlQGdtYWlsLmNvbSB3cm90 ZToNCj4+Pj4+Pg0KPj4+Pj4+PiBGcm9tOiBUb25naGFvIFpoYW5nIDx4aWFuZ3hpYS5tLnl1ZUBn bWFpbC5jb20+DQo+Pj4+Pj4+DQo+Pj4+Pj4+IFdoZW4gcnRlX3JhbmRfaW5pdCBpcyBpbnZva2Vk LCBhbmQgdGhlIGtlcm5lbA0KPj4+Pj4+PiAoa2VybmVsIHZ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