Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/135431/?format=api
http://patches.dpdk.org/api/patches/135431/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231221123545.510-2-anoobj@marvell.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": "<20231221123545.510-2-anoobj@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231221123545.510-2-anoobj@marvell.com", "date": "2023-12-21T12:35:22", "name": "[01/24] common/cnxk: fix memory leak", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "4c3d884fedef6088f53163981eb7f40e1365b360", "submitter": { "id": 1205, "url": "http://patches.dpdk.org/api/people/1205/?format=api", "name": "Anoob Joseph", "email": "anoobj@marvell.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231221123545.510-2-anoobj@marvell.com/mbox/", "series": [ { "id": 30646, "url": "http://patches.dpdk.org/api/series/30646/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30646", "date": "2023-12-21T12:35:21", "name": "Fixes and improvements in crypto cnxk", "version": 1, "mbox": "http://patches.dpdk.org/series/30646/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/135431/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/135431/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 441C043750;\n\tThu, 21 Dec 2023 13:35:56 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D927C40A81;\n\tThu, 21 Dec 2023 13:35:53 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 84E3040A7A\n for <dev@dpdk.org>; Thu, 21 Dec 2023 13:35:52 +0100 (CET)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id\n 3BLCVS2u019305 for <dev@dpdk.org>; Thu, 21 Dec 2023 04:35:51 -0800", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3v4nekg0fh-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 21 Dec 2023 04:35:51 -0800 (PST)", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Thu, 21 Dec 2023 04:35:50 -0800", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Thu, 21 Dec 2023 04:35:50 -0800", "from BG-LT92004.corp.innovium.com (unknown [10.193.71.152])\n by maili.marvell.com (Postfix) with ESMTP id 46B453F7079;\n Thu, 21 Dec 2023 04:35:46 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding:content-type; s=\n pfpt0220; bh=rTDiIAj8REKV1Wc9IF8ejh75L/NXp+/kd0RwR0pH7ro=; b=NPG\n AH4CinaMgAYZ4yG+NVqf0xOQTiMFW73mdSKUf/8AZvcHdQjBtLQ/hnrItYIn9k+v\n MbYy/H3BwQnPdN83V7ccMskKfyxKTvHZPMx6x+INfH7eO8ueZTLm3u8VY8yGHo+F\n Cgz9efxeOmYpOmfscLZKjfRRwj2/PLKNL9GIlCWRyt99TY/HaddJdbxSOjEvZtqf\n +mY02y9waEg3XFDBnC9s8C2H5y8Ve10hCfNRxPL3wfOuDJf1CNH+Bbdx12U9wL27\n W0osfJVXz9ycQ3d/UShjh189er1uxQKyXypQJ7yeWhEX0xgZZlDFcAx7XfAZlHWA\n hRkcWP4MT/aeL6fxYKA==", "From": "Anoob Joseph <anoobj@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>", "CC": "Jerin Jacob <jerinj@marvell.com>, Vidya Sagar Velumuri\n <vvelumuri@marvell.com>,\n Tejasree Kondoj <ktejasree@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH 01/24] common/cnxk: fix memory leak", "Date": "Thu, 21 Dec 2023 18:05:22 +0530", "Message-ID": "<20231221123545.510-2-anoobj@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20231221123545.510-1-anoobj@marvell.com>", "References": "<20231221123545.510-1-anoobj@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "FlikiKwoYkh9rk5dzT75QS_dQKg8durh", "X-Proofpoint-ORIG-GUID": "FlikiKwoYkh9rk5dzT75QS_dQKg8durh", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "From: Akhil Goyal <gakhil@marvell.com>\n\ndev_init() acquires some resources which need to be cleaned\nin case a failure is observed afterwards.\n\nFixes: c045d2e5cbbc (\"common/cnxk: add CPT configuration\")\n\nSigned-off-by: Akhil Goyal <gakhil@marvell.com>\n---\n drivers/common/cnxk/roc_cpt.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c\nindex 981e85a204..4e23d8c135 100644\n--- a/drivers/common/cnxk/roc_cpt.c\n+++ b/drivers/common/cnxk/roc_cpt.c\n@@ -756,7 +756,7 @@ roc_cpt_dev_init(struct roc_cpt *roc_cpt)\n \trc = dev_init(dev, pci_dev);\n \tif (rc) {\n \t\tplt_err(\"Failed to init roc device\");\n-\t\tgoto fail;\n+\t\treturn rc;\n \t}\n \n \tcpt->pci_dev = pci_dev;\n@@ -788,6 +788,7 @@ roc_cpt_dev_init(struct roc_cpt *roc_cpt)\n \treturn 0;\n \n fail:\n+\tdev_fini(dev, pci_dev);\n \treturn rc;\n }\n \n", "prefixes": [ "01/24" ] }{ "id": 135431, "url": "