Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/28639/?format=api
https://patches.dpdk.org/api/patches/28639/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1505244002-51248-1-git-send-email-jingjing.wu@intel.com/", "project": { "id": 1, "url": "https://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": "<1505244002-51248-1-git-send-email-jingjing.wu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1505244002-51248-1-git-send-email-jingjing.wu@intel.com", "date": "2017-09-12T19:20:02", "name": "[dpdk-dev] net/i40e: fix memory leak if VF init fails", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f49520b6f1b59e247b3c0ec3b3ff79084fa6dab0", "submitter": { "id": 47, "url": "https://patches.dpdk.org/api/people/47/?format=api", "name": "Jingjing Wu", "email": "jingjing.wu@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1505244002-51248-1-git-send-email-jingjing.wu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/28639/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/28639/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 A17E858C6;\n\tWed, 13 Sep 2017 04:37:43 +0200 (CEST)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id D3F29F04;\n\tWed, 13 Sep 2017 04:37:41 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t12 Sep 2017 19:37:39 -0700", "from dpdk11.sh.intel.com ([10.67.110.198])\n\tby fmsmga002.fm.intel.com with ESMTP; 12 Sep 2017 19:37:39 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos; i=\"5.42,385,1500966000\"; d=\"scan'208\";\n\ta=\"1218061300\"", "From": "Jingjing Wu <jingjing.wu@intel.com>", "To": "beilei.xing@intel.com", "Cc": "dev@dpdk.org,\n\tjingjing.wu@intel.com,\n\tstable@dpdk.org", "Date": "Wed, 13 Sep 2017 03:20:02 +0800", "Message-Id": "<1505244002-51248-1-git-send-email-jingjing.wu@intel.com>", "X-Mailer": "git-send-email 2.7.4", "Subject": "[dpdk-dev] [PATCH] net/i40e: fix memory leak if VF init fails", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Cc: stable@dpdk.org\nFixes: 4861cde46116 (\"i40e: new poll mode driver\")\n\nSigned-off-by: Jingjing Wu <jingjing.wu@intel.com>\n---\n drivers/net/i40e/i40e_ethdev_vf.c | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c\nindex f6d8293..9eca9ed 100644\n--- a/drivers/net/i40e/i40e_ethdev_vf.c\n+++ b/drivers/net/i40e/i40e_ethdev_vf.c\n@@ -1317,6 +1317,8 @@ i40evf_init_vf(struct rte_eth_dev *dev)\n \n err_alloc:\n \trte_free(vf->vf_res);\n+\trte_free(vf->aq_resp);\n+\tvf->vsi_res = NULL;\n err_aq:\n \ti40e_shutdown_adminq(hw); /* ignore error */\n err:\n", "prefixes": [ "dpdk-dev" ] }{ "id": 28639, "url": "