Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/939230/?format=api
{ "id": 939230, "url": "http://patchwork.ozlabs.org/api/patches/939230/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180704095337.nqiczkkd5r6k755v@kili.mountain/", "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": "<20180704095337.nqiczkkd5r6k755v@kili.mountain>", "list_archive_url": null, "date": "2018-07-04T09:53:37", "name": "[net] ixgbe: Off by one in ixgbe_ipsec_tx()", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "462129608dd50fe02c45dfd9f1219f6a8fdf91a6", "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/20180704095337.nqiczkkd5r6k755v@kili.mountain/mbox/", "series": [ { "id": 53662, "url": "http://patchwork.ozlabs.org/api/series/53662/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=53662", "date": "2018-07-04T09:53:37", "name": "[net] ixgbe: Off by one in ixgbe_ipsec_tx()", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/53662/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/939230/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/939230/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=\"szIp/ezU\"; dkim-atps=neutral" ], "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 41LGXj53BGz9s3q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 4 Jul 2018 19:53:56 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 64D0887031;\n\tWed, 4 Jul 2018 09:53:55 +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 cEdziGXuq99c; Wed, 4 Jul 2018 09:53:53 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id C1BCC86C8C;\n\tWed, 4 Jul 2018 09:53:53 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 14C5C1C2A1D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 4 Jul 2018 09:53:53 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 1168486302\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 4 Jul 2018 09:53:53 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id VKDOzOD4-PYL for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 4 Jul 2018 09:53:52 +0000 (UTC)", "from userp2130.oracle.com (userp2130.oracle.com [156.151.31.86])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 858A38623C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 4 Jul 2018 09:53:52 +0000 (UTC)", "from pps.filterd (userp2130.oracle.com [127.0.0.1])\n\tby userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id\n\tw649mwU6043992; Wed, 4 Jul 2018 09:53:49 GMT", "from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])\n\tby userp2130.oracle.com with ESMTP id 2k0dnjj63h-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Wed, 04 Jul 2018 09:53:49 +0000", "from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])\n\tby userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w649rmUh024845\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Wed, 4 Jul 2018 09:53:49 GMT", "from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])\n\tby userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id\n\tw649rlTY022923; Wed, 4 Jul 2018 09:53:48 GMT", "from kili.mountain (/197.157.34.168)\n\tby default (Oracle Beehive Gateway v4.0)\n\twith ESMTP ; Wed, 04 Jul 2018 02:53:46 -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-2017-10-26; \n\tbh=SKwishblAWjlE/0Rxal/1ccG4PFJvui+r5B+KB7DbxI=;\n\tb=szIp/ezU8dkyaahk9gkRNvZ7XNas79Eeqo1dw8jzs47as5e3mNJ0kCnS/2tn9zZAvOCZ\n\t+NN6xNxHw36hShcvibZ15e/4dw29nwW6X371tLzIpbWPUJf4N391Vd7M6ssFH4l8Uulq\n\tR9jElGD/w4hu0E5LVoSfyiG2tI2zG7NHUqKL44zmniEAOEMXko0yifhbtXKzqkPpmh0B\n\teB4vNV1Nwo9TvYiN5n9g5TXHosesKPQSJcWab1SwZe3+D5z6CfiFeTIgAlbe7gDWW6Kj\n\t/5qxoiLSp+lA2QrV/xHGoEtrjpPUu6ORmnPh4keNWrIw5Er/8QPqQMyhEJt9lLUH5Fu/\n\tyg== ", "Date": "Wed, 4 Jul 2018 12:53:37 +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": "<20180704095337.nqiczkkd5r6k755v@kili.mountain>", "MIME-Version": "1.0", "Content-Disposition": "inline", "X-Mailer": "git-send-email haha only kidding", "User-Agent": "NeoMutt/20170113 (1.7.2)", "X-Proofpoint-Virus-Version": "vendor=nai engine=5900 definitions=8943\n\tsignatures=668704", "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=882\n\tadultscore=0 classifier=spam adjust=0 reason=mlx scancount=1\n\tengine=8.0.1-1806210000 definitions=main-1807040117", "Subject": "[Intel-wired-lan] [PATCH net] ixgbe: Off by one in ixgbe_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[] has IXGBE_IPSEC_MAX_SA_COUNT elements so the > needs\nto be changed to >= so we don't read one element beyond the end of the\narray.\n\nFixes: 592594704761 (\"ixgbe: process the Tx ipsec offload\")\nSigned-off-by: Dan Carpenter <dan.carpenter@oracle.com>", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\nindex c116f459945d..da4322e4daed 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\n@@ -839,7 +839,7 @@ int ixgbe_ipsec_tx(struct ixgbe_ring *tx_ring,\n \t}\n \n \titd->sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX;\n-\tif (unlikely(itd->sa_idx > IXGBE_IPSEC_MAX_SA_COUNT)) {\n+\tif (unlikely(itd->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__, itd->sa_idx, xs->xso.offload_handle);\n \t\treturn 0;\n", "prefixes": [ "net" ] }