Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/971546/?format=api
{ "id": 971546, "url": "http://patchwork.ozlabs.org/api/patches/971546/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180919103529.GC9238@mwanda/", "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": "<20180919103529.GC9238@mwanda>", "list_archive_url": null, "date": "2018-09-19T10:35:29", "name": "ixgbevf: off by one in ixgbevf_ipsec_tx()", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "9af03bc7367ed06a2ed40f7e2803951354bca320", "submitter": { "id": 9327, "url": "http://patchwork.ozlabs.org/api/people/9327/?format=api", "name": "Dan Carpenter", "email": "dan.carpenter@oracle.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/20180919103529.GC9238@mwanda/mbox/", "series": [ { "id": 66365, "url": "http://patchwork.ozlabs.org/api/series/66365/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=66365", "date": "2018-09-19T10:35:29", "name": "ixgbevf: off by one in ixgbevf_ipsec_tx()", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/66365/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/971546/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/971546/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>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=oracle.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=oracle.com header.i=@oracle.com\n\theader.b=\"c0o82iaH\"; dkim-atps=neutral" ], "Received": [ "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 42FbqY2yN9z9sBv\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 19 Sep 2018 20:35:52 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 1318487088;\n\tWed, 19 Sep 2018 10:35:50 +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 ei9PADLkb6WD; Wed, 19 Sep 2018 10:35:49 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 75E4F87063;\n\tWed, 19 Sep 2018 10:35:49 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 67DC51C27C0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 19 Sep 2018 10:35:48 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 644693023A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 19 Sep 2018 10:35:48 +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 F2ie86cohteU for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 19 Sep 2018 10:35:48 +0000 (UTC)", "from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85])\n\tby silver.osuosl.org (Postfix) with ESMTPS id CB1B13022C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 19 Sep 2018 10:35:47 +0000 (UTC)", "from pps.filterd (userp2120.oracle.com [127.0.0.1])\n\tby userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id\n\tw8JAYOta149748; Wed, 19 Sep 2018 10:35:43 GMT", "from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])\n\tby userp2120.oracle.com with ESMTP id 2mgtqr22eb-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Wed, 19 Sep 2018 10:35:43 +0000", "from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])\n\tby aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w8JAZbJN025854\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Wed, 19 Sep 2018 10:35:37 GMT", "from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18])\n\tby userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id\n\tw8JAZavD014065; Wed, 19 Sep 2018 10:35:36 GMT", "from mwanda (/197.232.248.111)\n\tby default (Oracle Beehive Gateway v4.0)\n\twith ESMTP ; Wed, 19 Sep 2018 03:35:36 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;\n\th=date : from : to : cc\n\t: subject : message-id : mime-version : content-type;\n\ts=corp-2018-07-02; \n\tbh=41MxTmN59Rr0r/W/uF5cmeDAhUuIZy5FxZGeNH0W8X0=;\n\tb=c0o82iaHPUGoKKc7O8hPhc0+IQ6l5I1HYm1fJhd7BFFWMXjwQhQIQONgdadcqzj0hPes\n\tu7B32iZh7Rj0DOJtdK+RlRImVJO/vzksCCDXpr441tRYm0F9FpZ6LEAiVkOPCxljF++x\n\tGo4R+Qj2gIA//YGOxFMybSEulLcPBZv2jLVgmZ5vg3Svyx94nfrnpU7Ixpz6di+KOA+W\n\tl6lwhQ+X0Wyz0GMRn93iwaDjkgGIxDjmNlIRagf5Fb4nkuU021uA26IVWQ87MXFJShFx\n\tdgI+642yltlw90DOfKcKTvCfltg1UURdvgoA3EbvVtDvHj/kP8lcGySjgNqp9AL0xreM\n\tpg== ", "Date": "Wed, 19 Sep 2018 13:35:29 +0300", "From": "Dan Carpenter <dan.carpenter@oracle.com>", "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>,\n\tShannon Nelson <shannon.nelson@oracle.com>", "Message-ID": "<20180919103529.GC9238@mwanda>", "MIME-Version": "1.0", "Content-Disposition": "inline", "X-Mailer": "git-send-email haha only kidding", "User-Agent": "Mutt/1.10.1 (2018-07-13)", "X-Proofpoint-Virus-Version": "vendor=nai engine=5900 definitions=9020\n\tsignatures=668707", "X-Proofpoint-Spam-Details": "rule=notspam policy=default score=0 suspectscore=0\n\tmalwarescore=0\n\tphishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=922\n\tadultscore=0 classifier=spam adjust=0 reason=mlx scancount=1\n\tengine=8.0.1-1807170000 definitions=main-1809190110", "Subject": "[Intel-wired-lan] [PATCH] ixgbevf: off by one in ixgbevf_ipsec_tx()", "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, kernel-janitors@vger.kernel.org,\n\tintel-wired-lan@lists.osuosl.org, \"David S. Miller\" <davem@davemloft.net>", "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": "The ipsec->tx_tbl[] array has IXGBE_IPSEC_MAX_SA_COUNT elements so the >\nshould be a >=.\n\nFixes: 0062e7cc955e (\"ixgbevf: add VF IPsec offload code\")\nSigned-off-by: Dan Carpenter <dan.carpenter@oracle.com>", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbevf/ipsec.c b/drivers/net/ethernet/intel/ixgbevf/ipsec.c\nindex 997cea675a37..4fcbeffce52b 100644\n--- a/drivers/net/ethernet/intel/ixgbevf/ipsec.c\n+++ b/drivers/net/ethernet/intel/ixgbevf/ipsec.c\n@@ -470,7 +470,7 @@ int ixgbevf_ipsec_tx(struct ixgbevf_ring *tx_ring,\n \t}\n \n \tsa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX;\n-\tif (unlikely(sa_idx > IXGBE_IPSEC_MAX_SA_COUNT)) {\n+\tif (unlikely(sa_idx >= IXGBE_IPSEC_MAX_SA_COUNT)) {\n \t\tnetdev_err(tx_ring->netdev, \"%s: bad sa_idx=%d handle=%lu\\n\",\n \t\t\t __func__, sa_idx, xs->xso.offload_handle);\n \t\treturn 0;\n", "prefixes": [] }