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 19E01A0597; Thu, 9 Apr 2020 06:26:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1C6691C10F; Thu, 9 Apr 2020 06:26:58 +0200 (CEST) Received: from integrity.niometrics.com (integrity.niometrics.com [42.61.70.122]) by dpdk.org (Postfix) with ESMTP id AB71D1C0C4 for ; Thu, 9 Apr 2020 06:26:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by integrity.niometrics.com (Postfix) with ESMTP id 1B0E9409CBA9; Thu, 9 Apr 2020 12:26:53 +0800 (+08) DKIM-Filter: OpenDKIM Filter v2.11.0 integrity.niometrics.com 1B0E9409CBA9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niometrics.com; s=default; t=1586406414; bh=202nMxizwHdOoQsBp0F6sMw5IoNb0JGdvhMdyCRNXUE=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=ipknh//vFQxeZbTUMharj1ZXIhVbV38oeNCqPoAk750vXeSQ2oZzoIdgHqKOknvvW UURPPVMjmq5xbgisk+SpHqWBWNp1v5Lz7mOs5uVAWsr5HGmcTbaDiBDe900qBpXnVC CpLFAQ7k5s3ys5alu3pQYXAIGVtTZzkagMCN1uMk= X-Virus-Scanned: amavisd-new at niometrics.com Received: from integrity.niometrics.com ([127.0.0.1]) by localhost (integrity.niometrics.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aTCDn5vVPXkG; Thu, 9 Apr 2020 12:26:52 +0800 (+08) Received: from [10.15.0.132] (unknown [10.15.0.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by integrity.niometrics.com (Postfix) with ESMTPSA id 9D1C4409CBA8; Thu, 9 Apr 2020 12:26:51 +0800 (+08) DMARC-Filter: OpenDMARC Filter v1.3.2 integrity.niometrics.com 9D1C4409CBA8 DKIM-Filter: OpenDKIM Filter v2.11.0 integrity.niometrics.com 9D1C4409CBA8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niometrics.com; s=default; t=1586406412; bh=202nMxizwHdOoQsBp0F6sMw5IoNb0JGdvhMdyCRNXUE=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=VZkmby1dwb5BpNszCX0aCKQF/jHUr6HzgqTKEA5ybEyJG7WL4OFNYlrQLBFlatZUr 1KR2aJCkrYv3V26+TDwcDx976a2eeZCzoAkqiFykc27BxK/rcFSJ9j0I6MR2OV2qL8 WROVAYNLkiLaCSGreNcTZxaWkyvHel+aihp1EAlM= From: Mohsin Shaikh Message-Id: Content-Type: multipart/mixed; boundary="Apple-Mail=_3E60CCA0-738B-4487-BC28-17796EA6C88B" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Date: Thu, 9 Apr 2020 12:26:51 +0800 In-Reply-To: Cc: akozyrev@mellanox.com To: dev@dpdk.org References: X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Spam-Status: No, score=-1.1 required=3.5 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on integrity.niometrics.com X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [Bug 440] net/mlx5: Read of "out_of_buffer" using fopen/fscanf/fclose causing TLB shootdowns due to mmap/munmap 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" --Apple-Mail=_3E60CCA0-738B-4487-BC28-17796EA6C88B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Alexander, Thank you for your quick response. Please find attached the patch for = bug 440.=20 - Mohsin --Apple-Mail=_3E60CCA0-738B-4487-BC28-17796EA6C88B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 9 Apr 2020, at 1:07 AM, bugzilla@dpdk.org wrote: >=20 > https://bugs.dpdk.org/show_bug.cgi?id=3D440 >=20 > Alexander Kozyrev (akozyrev@mellanox.com) changed: >=20 > What |Removed |Added > = --------------------------------------------------------------------------= -- > Ever confirmed|0 |1 > Status|UNCONFIRMED |CONFIRMED > CC| |akozyrev@mellanox.com >=20 > --- Comment #1 from Alexander Kozyrev (akozyrev@mellanox.com) --- > Hi Mohsin, thank you for the problem description and especially for = the patch. > Would you mind sending this patch to DPDK mailing list so we can = integrate it? > The patch looks really good to me. The only small thing I would like = to change. > Could you please use SCNu64 macro instead of "%lu" in the sscanf = function? > sscanf(buf, "%" SCNu64, stat); >=20 > --=20 > You are receiving this mail because: > You reported the bug. --Apple-Mail=_3E60CCA0-738B-4487-BC28-17796EA6C88B--