Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/874035/?format=api
{ "id": 874035, "url": "http://patchwork.ozlabs.org/api/patches/874035/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180215174435.GA19969@embeddedor.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20180215174435.GA19969@embeddedor.com>", "list_archive_url": null, "date": "2018-02-15T17:44:35", "name": "i40evf/i40evf_main: Fix variable assignment in i40evf_parse_cls_flower", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "30f7d398c6bcedaaa85cc237cea9655e9fd77fca", "submitter": { "id": 71553, "url": "http://patchwork.ozlabs.org/api/people/71553/?format=api", "name": "Gustavo A. R. Silva", "email": "garsilva@embeddedor.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180215174435.GA19969@embeddedor.com/mbox/", "series": [ { "id": 28835, "url": "http://patchwork.ozlabs.org/api/series/28835/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=28835", "date": "2018-02-15T17:44:35", "name": "i40evf/i40evf_main: Fix variable assignment in i40evf_parse_cls_flower", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/28835/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/874035/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/874035/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3zj41h3yFjz9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 16 Feb 2018 05:05:12 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 0AEB788839;\n\tThu, 15 Feb 2018 18:05:11 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id VtR3HEaaKL8m; Thu, 15 Feb 2018 18:05:09 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 08B4E87B4F;\n\tThu, 15 Feb 2018 18:05:09 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 32FA91C0015\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Feb 2018 18:05:08 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 2E264304DC\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Feb 2018 18:05:08 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id h8LPIeNrbyCc for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Feb 2018 18:05:07 +0000 (UTC)", "from gateway34.websitewelcome.com (gateway34.websitewelcome.com\n\t[192.185.149.46])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 083452E3BC\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Feb 2018 18:05:06 +0000 (UTC)", "from cm14.websitewelcome.com (cm14.websitewelcome.com\n\t[100.42.49.7])\n\tby gateway34.websitewelcome.com (Postfix) with ESMTP id A1DF0C6A21\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 15 Feb 2018 11:44:39 -0600 (CST)", "from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP\n\tid mNaJeaphH0aRHmNaJetjO7; Thu, 15 Feb 2018 11:44:39 -0600", "from [189.175.4.238] (port=36216 helo=embeddedor)\n\tby gator4166.hostgator.com with esmtpa (Exim 4.89_1)\n\t(envelope-from <garsilva@embeddedor.com>)\n\tid 1emNaJ-0013h9-4e; Thu, 15 Feb 2018 11:44:39 -0600" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "delayed 00:20:27 by SQLgrey-1.7.6", "Date": "Thu, 15 Feb 2018 11:44:35 -0600", "From": "\"Gustavo A. R. Silva\" <garsilva@embeddedor.com>", "To": "Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>,\n\tJeff Kirsher <jeffrey.t.kirsher@intel.com>", "Message-ID": "<20180215174435.GA19969@embeddedor.com>", "MIME-Version": "1.0", "Content-Disposition": "inline", "User-Agent": "Mutt/1.5.24 (2015-08-30)", "X-AntiAbuse": [ "This header was added to track abuse,\n\tplease include it with any abuse report", "Primary Hostname - gator4166.hostgator.com", "Original Domain - lists.osuosl.org", "Originator/Caller UID/GID - [47 12] / [47 12]", "Sender Address Domain - embeddedor.com" ], "X-BWhitelist": "no", "X-Source-IP": "189.175.4.238", "X-Source-L": "No", "X-Exim-ID": "1emNaJ-0013h9-4e", "X-Source": "", "X-Source-Args": "", "X-Source-Dir": "", "X-Source-Sender": "(embeddedor) [189.175.4.238]:36216", "X-Source-Auth": "garsilva@embeddedor.com", "X-Email-Count": "3", "X-Source-Cap": "Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20=", "X-Local-Domain": "yes", "Subject": "[Intel-wired-lan] [PATCH] i40evf/i40evf_main: Fix variable\n\tassignment in i40evf_parse_cls_flower", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.24", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Cc": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\tlinux-kernel@vger.kernel.org,\n\t\"Gustavo A. R. Silva\" <garsilva@embeddedor.com>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "It seems this is a copy-paste error and that the proper variable to use\nin this particular case is _src_ instead of _dst_.\n\nAddresses-Coverity-ID: 1465282 (\"Copy-paste error\")\nFixes: 0075fa0fadd0 (\"i40evf: Add support to apply cloud filters\")\nSigned-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>\n---\n drivers/net/ethernet/intel/i40evf/i40evf_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\nindex 4955ce3..58be99e 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n@@ -2763,7 +2763,7 @@ static int i40evf_parse_cls_flower(struct i40evf_adapter *adapter,\n \n \t\tif (key->src) {\n \t\t\tfilter->f.mask.tcp_spec.src_port |= cpu_to_be16(0xffff);\n-\t\t\tfilter->f.data.tcp_spec.src_port = key->dst;\n+\t\t\tfilter->f.data.tcp_spec.src_port = key->src;\n \t\t}\n \t}\n \tfilter->f.field_flags = field_flags;\n", "prefixes": [] }