Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64206/?format=api
http://patches.dpdk.org/api/patches/64206/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200104013341.19809-10-stephen@networkplumber.org/", "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": "<20200104013341.19809-10-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20200104013341.19809-10-stephen@networkplumber.org", "date": "2020-01-04T01:33:36", "name": "[09/14] eal: close mem config on cleanup", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ae31a621f0855108951470f75650f52fad4e09d5", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200104013341.19809-10-stephen@networkplumber.org/mbox/", "series": [ { "id": 7981, "url": "http://patches.dpdk.org/api/series/7981/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7981", "date": "2020-01-04T01:33:27", "name": "cleanup resources on shutdown", "version": 1, "mbox": "http://patches.dpdk.org/series/7981/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/64206/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/64206/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5814DA04DD;\n\tSat, 4 Jan 2020 02:35:12 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 648281D559;\n\tSat, 4 Jan 2020 02:34:09 +0100 (CET)", "from mail-pf1-f194.google.com (mail-pf1-f194.google.com\n [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 34E091D501\n for <dev@dpdk.org>; Sat, 4 Jan 2020 02:34:02 +0100 (CET)", "by mail-pf1-f194.google.com with SMTP id w62so24241631pfw.8\n for <dev@dpdk.org>; Fri, 03 Jan 2020 17:34:02 -0800 (PST)", "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n by smtp.gmail.com with ESMTPSA id j6sm16212934pjv.10.2020.01.03.17.33.59\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 03 Jan 2020 17:34:00 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=MHI7cMSENo7lqn4JRd+oFBhYEul5nwsPPh9M0DElZJQ=;\n b=GuZpvgS1XtKyFb7sBpuC5sA4TwOyE155UaGra+gYsDHoLsyWx5V7ESm7F6DwbcJvaD\n Z2+Zewhxx8u4g9keiwD/EUBLcHBqxptJJaH+FWZc5fGVvZNqxaIXn+GgcArvZHoBudr0\n dO4TckhhQs61SV4Y7xKbm1c7R9lz7TX6EE51/TCrHjVSB9OOvblhQshQgsM3Bc/I66SX\n YIxSyPe8OqgbbyfSf/RqWmw4Q7DbO2T/92PUXlYCWgpIs8b9fdqFuGjLQFRENnS/A9yU\n VO0mm/5ZXdwPSW6DuGO4FOoOvsYbJ0i5Z+6JeiQpysKXK5wvQLwP3/96QEg+xYZy4Cek\n B6BA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=MHI7cMSENo7lqn4JRd+oFBhYEul5nwsPPh9M0DElZJQ=;\n b=R5vI7mKkLdQSSJIbMuWBtBWvRNc5ly6VWNTz0Sy1puygN+kbJx8tqADUyK5b3uRqen\n NHT1GEqABKB4kiM7+ZUuABtLXdfLbDTltP8zzVyb2h10Uj0MaI/sScl9ZhzpDy+QsFLq\n LBYfs6tUfw4IDkGD3osRPvndBtqHD21pLT79k5cC+PW30BCAQ5DZiDAp8SBw+4p1o3tS\n GH4DARN/vtCiD+AtznlzKG6JDqSXa/ogYaBjqkmH7gv86Qc6a3lVZFWo2F90SqxNhmm6\n 6DQqTcvavLKAhCFo3mN7GsUefWeeUNc3EfpH6Wyzo6qZtHUCLceyPT4++Q5Tg7t5S+nN\n pZuw==", "X-Gm-Message-State": "APjAAAV6NAqEDWPZxZQXjuaCyo9wfrvLaiZhi/cP7wTkJbIWzC/UzzxI\n BGAjkp7S/9ppiMPRFHUSAyaEVfsZdRw=", "X-Google-Smtp-Source": "\n APXvYqzCM6POP9CkV21C0CYvQe7TSaqfHVl63b/g1xhPYkwtuxlS9u3P8MhStb0Kw3KO+/wfvrKYqQ==", "X-Received": "by 2002:a63:b642:: with SMTP id v2mr97510905pgt.126.1578101640844;\n Fri, 03 Jan 2020 17:34:00 -0800 (PST)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Date": "Fri, 3 Jan 2020 17:33:36 -0800", "Message-Id": "<20200104013341.19809-10-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20200104013341.19809-1-stephen@networkplumber.org>", "References": "<20200104013341.19809-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 09/14] eal: close mem config on cleanup", "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Resolves file descriptor left open after rte_eal_cleanup.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/librte_eal/linux/eal/eal.c | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/lib/librte_eal/linux/eal/eal.c b/lib/librte_eal/linux/eal/eal.c\nindex 9ad81378f23c..e5c2a24322e9 100644\n--- a/lib/librte_eal/linux/eal/eal.c\n+++ b/lib/librte_eal/linux/eal/eal.c\n@@ -1346,6 +1346,12 @@ rte_eal_cleanup(void)\n \trte_mp_channel_cleanup();\n \teal_cleanup_config(&internal_config);\n \trte_eal_log_cleanup();\n+\n+\tif (mem_cfg_fd != -1) {\n+\t\tclose(mem_cfg_fd);\n+\t\tmem_cfg_fd = -1;\n+\t}\n+\n \treturn 0;\n }\n \n", "prefixes": [ "09/14" ] }{ "id": 64206, "url": "