Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/51900/?format=api
http://patches.dpdk.org/api/patches/51900/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/8f8c3997f0cd872487482607b2925ab9b05ca7d1.1553856935.git.anatoly.burakov@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<8f8c3997f0cd872487482607b2925ab9b05ca7d1.1553856935.git.anatoly.burakov@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/8f8c3997f0cd872487482607b2925ab9b05ca7d1.1553856935.git.anatoly.burakov@intel.com", "date": "2019-03-29T10:56:15", "name": "malloc: fix memset size", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "874e87ef65975017b811fef5c7ba614721bd79ee", "submitter": { "id": 4, "url": "http://patches.dpdk.org/api/people/4/?format=api", "name": "Anatoly Burakov", "email": "anatoly.burakov@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/8f8c3997f0cd872487482607b2925ab9b05ca7d1.1553856935.git.anatoly.burakov@intel.com/mbox/", "series": [ { "id": 3992, "url": "http://patches.dpdk.org/api/series/3992/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3992", "date": "2019-03-29T10:56:15", "name": "malloc: fix memset size", "version": 1, "mbox": "http://patches.dpdk.org/series/3992/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/51900/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/51900/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4F90F2BD3;\n\tFri, 29 Mar 2019 11:56:19 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id F32302965;\n\tFri, 29 Mar 2019 11:56:17 +0100 (CET)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 Mar 2019 03:56:17 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga006.fm.intel.com with ESMTP; 29 Mar 2019 03:56:16 -0700", "from sivswdev05.ir.intel.com (sivswdev05.ir.intel.com\n\t[10.243.17.64])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tx2TAuFsK017469; Fri, 29 Mar 2019 10:56:15 GMT", "from sivswdev05.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev05.ir.intel.com with ESMTP id x2TAuF2g001182;\n\tFri, 29 Mar 2019 10:56:15 GMT", "(from aburakov@localhost)\n\tby sivswdev05.ir.intel.com with LOCAL id x2TAuFKv001178;\n\tFri, 29 Mar 2019 10:56:15 GMT" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.60,284,1549958400\"; d=\"scan'208\";a=\"331844226\"", "From": "Anatoly Burakov <anatoly.burakov@intel.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org", "Date": "Fri, 29 Mar 2019 10:56:15 +0000", "Message-Id": "<8f8c3997f0cd872487482607b2925ab9b05ca7d1.1553856935.git.anatoly.burakov@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "Subject": "[dpdk-dev] [PATCH] malloc: fix memset size", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The memset size for an IPC message is set incorrectly. Fix it to\ncover the entire IPC message.\n\nFixes: 07dcbfe0101f (\"malloc: support multiprocess memory hotplug\")\nCc: stable@dpdk.org\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n lib/librte_eal/common/malloc_mp.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_eal/common/malloc_mp.c b/lib/librte_eal/common/malloc_mp.c\nindex f3a13353b..b470565e0 100644\n--- a/lib/librte_eal/common/malloc_mp.c\n+++ b/lib/librte_eal/common/malloc_mp.c\n@@ -501,7 +501,7 @@ handle_rollback_response(const struct rte_mp_msg *request,\n \t/* lock the request */\n \tpthread_mutex_lock(&mp_request_list.lock);\n \n-\tmemset(&msg, 0, sizeof(0));\n+\tmemset(&msg, 0, sizeof(msg));\n \n \tentry = find_request_by_id(mpreq->id);\n \tif (entry == NULL) {\n", "prefixes": [] }{ "id": 51900, "url": "