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 2D185A0577; Tue, 14 Apr 2020 17:37:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DEAB41C215; Tue, 14 Apr 2020 17:37:45 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60079.outbound.protection.outlook.com [40.107.6.79]) by dpdk.org (Postfix) with ESMTP id 5F4FA1C205; Tue, 14 Apr 2020 17:37:44 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XJqHB9/dDYMyfckfkrkS8DcenGtpsc+Uc3x27IYScTow2Z0b3RM+lgJdvDxMDpwmkTlOQ5JLVU5rulq8152qLaYTGFjmYWNV/y8FkVvyZetLC82NoUwjE9Hu38aDTblSwJ4D7WjmezoyB6gzfPa2dCtY5zghE+IKP0x+21BzOpTVwJmXgN88Z7R/+dyKCZrjB1wdpFfPNOuJWa8zlvgeuyh9NDl9GrOqsiY4b3B920waFIz9UF0c2Tv2Onc6yYIJcchX4ywUj3uUaUkmCbAYcRGHB486J2GYWTxF1gLzQkq0kWmdX5wvxd9SOh8Bxf0HTtAPZahw2lrSK2c+ePaxWg== 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=8XgyrlWTNCe/obYfgI9ftLOCwyJyVSdB/PQ8Ik1KsuU=; b=IYRaaZ5agPIOMtfvG/i8W6ppsBNTahWzm6wVytmNNIG9iMFYwFJKEfjZA9GL8TKXIjEkSf5BV807NHgCUKTOpawNG+Em+ferhTt9izLeH/eFsubp8qHFXps7rvxMlweUYRqZlTP8s2F4CvOaj1Z8nqh+jZZS7R8VZtgdYavDNES1UWo5UiG5XHEeMLm/cDNsZav6dgeJbPxLdSAt6o7YZZ0B3VeXgdVX4NQGDpT0IXG6wJe+vcOqDwcBHglMPswmXeLgLvdDOh6uOqJyYaZlJbe2oJZIj/0vjTIwThwi7YNJTD+cfFmyLVOWyRGKYTB1V5D35cjWzYFIrluMCFznbA== 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=8XgyrlWTNCe/obYfgI9ftLOCwyJyVSdB/PQ8Ik1KsuU=; b=X43vCW4fO4OgrZLrQcs2SolPhbH+kP7KKnz9pvNMssJBp2sjPakBuGD4EkxgRSOOFBs6fVi1IWii8tKrm8eDfoD5SgnulZrJSGYPCkkXtU9mirNNk8AXYDfLsol4loDkOKep7iPMHafrvZcLWDM7ENEluBmkf+xV2oIZDFMIdrQ= Received: from HE1PR07MB4284.eurprd07.prod.outlook.com (2603:10a6:7:9f::29) by HE1PR07MB4170.eurprd07.prod.outlook.com (2603:10a6:7:9b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.23; Tue, 14 Apr 2020 15:37:43 +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; Tue, 14 Apr 2020 15:37:43 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: David Marchand CC: Tonghao Zhang , 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+4UheFHeda6h4AqcAgAAKSoCAAJAsAIAABGyAgAAiHAA= Date: Tue, 14 Apr 2020 15:37:43 +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: [95.202.100.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4ab895c2-39d0-4e32-26bf-08d7e089c610 x-ms-traffictypediagnostic: HE1PR07MB4170: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0373D94D15 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)(396003)(376002)(136003)(346002)(39860400002)(366004)(6512007)(86362001)(4326008)(6506007)(5660300002)(2616005)(8936002)(478600001)(31696002)(66946007)(85182001)(64756008)(8676002)(31686004)(66476007)(66556008)(66446008)(76116006)(2906002)(36756003)(26005)(316002)(85202003)(81156014)(53546011)(54906003)(6916009)(6486002)(71200400001)(186003); 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: pumJJSMYxwUqlgFB+m7sUXhdlo+cgCre9HWauEsVplneaDpmOM98znvtOkQWHliC/eBNskMzsZ25rlLRcV2YOVdaHlNXf0jicE4VEXl+c1O8XAEfdh4TZLd65jqUwBVPF70oPbREfb1EnqznXKi+k1rEquNZwJZmkAVuMAOLGN/em1rvCoEOBXYAHRTXk/J56uPd3iPIllZOOoMPPaayYbgQ8QfNwUvA+cd02mMPMBLdW1XgYPGXqwUj0TSFkussCqmZe9acxx/6w6BlEdZIt9KeY8NWDsXqafoPYrJUFxd/QZjA1PhTrBhTW0UKocVxi+Tx28G7/TVEoEcoSDJO4tmIIuCcC20PkNzygNpHshapVmyRRwqlEeHpdXlJdFkvqLDfvwrM1l5UPThmO4KEfVAajkh6r/hcXr9KBqy1UtBOla8XswabUTwXF17WEDj3 x-ms-exchange-antispam-messagedata: XtHM9UIYniz9il38KigboFKCYkkmagv//J2xwYNTo3UVYz0bvkaYEL1P/ktGrWr3/KkH8/pMJbxTxFjXZ4o21G5J8rf/VWLCtrRw0JEAY7wXdDm923LGT+ATWOt/SmIvkVSjejEzzCp1By+TCD695w== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <493AA5B2DAB9744D8F97CF910754E0E3@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ab895c2-39d0-4e32-26bf-08d7e089c610 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2020 15:37:43.3203 (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: kHldoSGn0Pl0tjh7mjpgPZHtfFzroRC1MO2B7yLegvo+LAekYgy40VhGUWtdnSglkh9HagmeeqKM0GyqV4smyhxO0jnnt3FoYFXcaKpEzjc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4170 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-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