Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/121625/?format=api
http://patches.dpdk.org/api/patches/121625/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230105135743.4162991-1-david.marchand@redhat.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": "<20230105135743.4162991-1-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230105135743.4162991-1-david.marchand@redhat.com", "date": "2023-01-05T13:57:43", "name": "net/iavf: protect insertion in flow list", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4ae7eec2cd37684934009d28f3e0d5ebf4cc0d7d", "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 1540, "url": "http://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230105135743.4162991-1-david.marchand@redhat.com/mbox/", "series": [ { "id": 26401, "url": "http://patches.dpdk.org/api/series/26401/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=26401", "date": "2023-01-05T13:57:43", "name": "net/iavf: protect insertion in flow list", "version": 1, "mbox": "http://patches.dpdk.org/series/26401/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/121625/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/121625/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 B5405A00C2;\n\tThu, 5 Jan 2023 14:57:53 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A70C542D20;\n\tThu, 5 Jan 2023 14:57:53 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id 9304442D23\n for <dev@dpdk.org>; Thu, 5 Jan 2023 14:57:51 +0100 (CET)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-395-RRT9c0blO0WfAfTGgimRMg-1; Thu, 05 Jan 2023 08:57:47 -0500", "from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com\n [10.11.54.8])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B019F858F0E;\n Thu, 5 Jan 2023 13:57:46 +0000 (UTC)", "from dmarchan.redhat.com (ovpn-193-12.brq.redhat.com [10.40.193.12])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 68DDCC15BA0;\n Thu, 5 Jan 2023 13:57:45 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1672927071;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=5wnmTS5LNfe2a+qmDEZbkRq2JvtdJZHbGzaj0DgUARI=;\n b=QWzBe1l1tOkLjRLVpwT/exwGafzE5eWIvwfPFkQZU256HBHoouACdOuKOa9PXhX1LJx6KX\n LDK+OjXCZtE8zyoNXB6Wh1oxo2EPeLgyWD2/tj+D8mhrTBlb44mov0AKqP8vPgEisVj4g3\n pZ9x8X4sjyQ1KYO8/f5UjknS685sFPA=", "X-MC-Unique": "RRT9c0blO0WfAfTGgimRMg-1", "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org, Jingjing Wu <jingjing.wu@intel.com>,\n Beilei Xing <beilei.xing@intel.com>, Qi Zhang <qi.z.zhang@intel.com>,\n Qiming Yang <qiming.yang@intel.com>", "Subject": "[PATCH] net/iavf: protect insertion in flow list", "Date": "Thu, 5 Jan 2023 14:57:43 +0100", "Message-Id": "<20230105135743.4162991-1-david.marchand@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.8", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "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": "Add missing lock acquire.\n\nFixes: ff2d0c345c3b (\"net/iavf: support generic flow API\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/net/iavf/iavf_generic_flow.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/iavf/iavf_generic_flow.c b/drivers/net/iavf/iavf_generic_flow.c\nindex f33c764764..6f6e95fc45 100644\n--- a/drivers/net/iavf/iavf_generic_flow.c\n+++ b/drivers/net/iavf/iavf_generic_flow.c\n@@ -2278,11 +2278,12 @@ iavf_flow_create(struct rte_eth_dev *dev,\n \t}\n \n \tflow->engine = engine;\n+\trte_spinlock_lock(&vf->flow_ops_lock);\n \tTAILQ_INSERT_TAIL(&vf->flow_list, flow, node);\n+\trte_spinlock_unlock(&vf->flow_ops_lock);\n \tPMD_DRV_LOG(INFO, \"Succeeded to create (%d) flow\", engine->type);\n \n free_flow:\n-\trte_spinlock_unlock(&vf->flow_ops_lock);\n \treturn flow;\n }\n \n", "prefixes": [] }{ "id": 121625, "url": "