Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/93315/?format=api
https://patches.dpdk.org/api/patches/93315/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210519075933.11807-1-haiyue.wang@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": "<20210519075933.11807-1-haiyue.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210519075933.11807-1-haiyue.wang@intel.com", "date": "2021-05-19T07:59:33", "name": "[v1] net/iavf: fix RSS key access out of index", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "b31141fbb5d7cfa13a4cd79eca6a50491a06d184", "submitter": { "id": 1044, "url": "https://patches.dpdk.org/api/people/1044/?format=api", "name": "Wang, Haiyue", "email": "haiyue.wang@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210519075933.11807-1-haiyue.wang@intel.com/mbox/", "series": [ { "id": 17026, "url": "https://patches.dpdk.org/api/series/17026/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17026", "date": "2021-05-19T07:59:33", "name": "[v1] net/iavf: fix RSS key access out of index", "version": 1, "mbox": "https://patches.dpdk.org/series/17026/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/93315/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/93315/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 9BF8EA0547;\n\tWed, 19 May 2021 10:20:11 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0F3A040041;\n\tWed, 19 May 2021 10:20:11 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 4D4B44003F;\n Wed, 19 May 2021 10:20:08 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 May 2021 01:20:08 -0700", "from npg-dpdk-haiyue-1.sh.intel.com ([10.67.118.220])\n by orsmga002.jf.intel.com with ESMTP; 19 May 2021 01:20:05 -0700" ], "IronPort-SDR": [ "\n egyU2kEZLk4WCmp1BHCowBXZiVGXVw+Aj/mUtkQ13vK6JBQJIQ30KYhMb1bJAXEgBEuiOIbLt8\n rXqnqTsgV0+A==", "\n h9Pyklc4o/6skvmrHsGW9hiH+jjVl9/liBcVrMGFu2TT79nRcPw0VQZJvaP0XBMQYbiqpR1PKV\n iSRxuP7u4KSg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,9988\"; a=\"180522852\"", "E=Sophos;i=\"5.82,312,1613462400\"; d=\"scan'208\";a=\"180522852\"", "E=Sophos;i=\"5.82,312,1613462400\"; d=\"scan'208\";a=\"411639955\"" ], "X-ExtLoop1": "1", "From": "Haiyue Wang <haiyue.wang@intel.com>", "To": "dev@dpdk.org", "Cc": "qi.z.zhang@intel.com, Haiyue Wang <haiyue.wang@intel.com>,\n stable@dpdk.org,\n Jingjing Wu <jingjing.wu@intel.com>, Beilei Xing <beilei.xing@intel.com>", "Date": "Wed, 19 May 2021 15:59:33 +0800", "Message-Id": "<20210519075933.11807-1-haiyue.wang@intel.com>", "X-Mailer": "git-send-email 2.31.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v1] net/iavf: fix RSS key access out of index", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The array rss_key has size 'vf->vf_res->rss_key_size', the array index\nshould be less than that.\n\nCc: stable@dpdk.org\nFixes: 69dd4c3d0898 (\"net/avf: enable queue and device\")\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\n---\n drivers/net/iavf/iavf_ethdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c\nindex d688c31cfb..cb38fe81e1 100644\n--- a/drivers/net/iavf/iavf_ethdev.c\n+++ b/drivers/net/iavf/iavf_ethdev.c\n@@ -366,7 +366,7 @@ iavf_init_rss(struct iavf_adapter *adapter)\n \t/* configure RSS key */\n \tif (!rss_conf->rss_key) {\n \t\t/* Calculate the default hash key */\n-\t\tfor (i = 0; i <= vf->vf_res->rss_key_size; i++)\n+\t\tfor (i = 0; i < vf->vf_res->rss_key_size; i++)\n \t\t\tvf->rss_key[i] = (uint8_t)rte_rand();\n \t} else\n \t\trte_memcpy(vf->rss_key, rss_conf->rss_key,\n", "prefixes": [ "v1" ] }{ "id": 93315, "url": "