Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/48699/?format=api
http://patches.dpdk.org/api/patches/48699/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20181212111132.35983-1-yskoh@mellanox.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": "<20181212111132.35983-1-yskoh@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20181212111132.35983-1-yskoh@mellanox.com", "date": "2018-12-12T11:11:32", "name": "net/mlx5: fix Multi-Packet RQ mempool free", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "5e270c504bc6712b871dbef1ddb33775af06db49", "submitter": { "id": 636, "url": "http://patches.dpdk.org/api/people/636/?format=api", "name": "Yongseok Koh", "email": "yskoh@mellanox.com" }, "delegate": { "id": 6624, "url": "http://patches.dpdk.org/api/users/6624/?format=api", "username": "shahafs", "first_name": "Shahaf", "last_name": "Shuler", "email": "shahafs@mellanox.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20181212111132.35983-1-yskoh@mellanox.com/mbox/", "series": [ { "id": 2739, "url": "http://patches.dpdk.org/api/series/2739/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=2739", "date": "2018-12-12T11:11:32", "name": "net/mlx5: fix Multi-Packet RQ mempool free", "version": 1, "mbox": "http://patches.dpdk.org/series/2739/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/48699/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/48699/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 EB11B1B2B3;\n\tWed, 12 Dec 2018 12:11:44 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 241631B2B3\n\tfor <dev@dpdk.org>; Wed, 12 Dec 2018 12:11:43 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tyskoh@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 12 Dec 2018 13:17:47 +0200", "from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx\n\t[10.101.0.96])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id wBCBBaDm010112;\n\tWed, 12 Dec 2018 13:11:36 +0200" ], "From": "Yongseok Koh <yskoh@mellanox.com>", "To": "shahafs@mellanox.com", "Cc": "dev@dpdk.org, stable@dpdk.org", "Date": "Wed, 12 Dec 2018 03:11:32 -0800", "Message-Id": "<20181212111132.35983-1-yskoh@mellanox.com>", "X-Mailer": "git-send-email 2.11.0", "Subject": "[dpdk-dev] [PATCH] net/mlx5: fix Multi-Packet RQ mempool free", "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": "When MPRQ mempool is freed, the pointer stored in priv structure must be\nreset to null. Otherwise, the mempool can be freed again if the port is\nrestarted.\n\nFixes: 7d6bf6b866b8 (\"net/mlx5: add Multi-Packet Rx support\")\nCc: stable@dpdk.org\n\nSigned-off-by: Yongseok Koh <yskoh@mellanox.com>\n---\n drivers/net/mlx5/mlx5_rxq.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c\nindex 183da0e282..34c8338723 100644\n--- a/drivers/net/mlx5/mlx5_rxq.c\n+++ b/drivers/net/mlx5/mlx5_rxq.c\n@@ -1179,6 +1179,7 @@ mlx5_mprq_free_mp(struct rte_eth_dev *dev)\n \t\t\tcontinue;\n \t\trxq->mprq_mp = NULL;\n \t}\n+\tpriv->mprq_mp = NULL;\n \treturn 0;\n }\n \n", "prefixes": [] }{ "id": 48699, "url": "