Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/817983/?format=api
{ "id": 817983, "url": "http://patchwork.ozlabs.org/api/patches/817983/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170924195716.3433-9-xypron.glpk@gmx.de/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170924195716.3433-9-xypron.glpk@gmx.de>", "list_archive_url": null, "date": "2017-09-24T19:57:07", "name": "[U-Boot,08/17] efi_loader: efi_net: hwaddr_size = 6", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "b6f3c46ab7aa04493776aa63598a2b435722c544", "submitter": { "id": 61270, "url": "http://patchwork.ozlabs.org/api/people/61270/?format=api", "name": "Heinrich Schuchardt", "email": "xypron.glpk@gmx.de" }, "delegate": { "id": 3400, "url": "http://patchwork.ozlabs.org/api/users/3400/?format=api", "username": "agraf", "first_name": "Alexander", "last_name": "Graf", "email": "agraf@suse.de" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170924195716.3433-9-xypron.glpk@gmx.de/mbox/", "series": [ { "id": 4841, "url": "http://patchwork.ozlabs.org/api/series/4841/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=4841", "date": "2017-09-24T19:57:03", "name": "efi_loader: Simple Network Protocol", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4841/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/817983/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/817983/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0dZ91p29z9t3R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 06:08:17 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid F196FC22124; Sun, 24 Sep 2017 20:02:00 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 95E66C2214E;\n\tSun, 24 Sep 2017 19:58:56 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 96DAEC2215A; Sun, 24 Sep 2017 19:58:14 +0000 (UTC)", "from mout.gmx.net (mout.gmx.net [212.227.17.20])\n\tby lists.denx.de (Postfix) with ESMTPS id 81136C220D8\n\tfor <u-boot@lists.denx.de>; Sun, 24 Sep 2017 19:58:11 +0000 (UTC)", "from workstation4.fritz.box ([84.118.154.110]) by mail.gmx.com\n\t(mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id\n\t0Li1hG-1dawpd2sj4-00nBye; Sun, 24 Sep 2017 21:57:31 +0200" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>", "To": "Alexander Graf <agraf@suse.de>", "Date": "Sun, 24 Sep 2017 21:57:07 +0200", "Message-Id": "<20170924195716.3433-9-xypron.glpk@gmx.de>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20170924195716.3433-1-xypron.glpk@gmx.de>", "References": "<20170924195716.3433-1-xypron.glpk@gmx.de>", "X-Provags-ID": "V03:K0:OxID6guXKmuDVX1YBeGJkSeW5V5Imw87/bGCVQR4jhwNZ526+66\n\toKmzb3bwJM98LHvfiIWDIU/qIDWkZdV+sS1qTWYdG/25LVXRyBTfqDuHBtCxgLZjByulphF\n\tI6sburwWdzGnzIrDRCDnJWpplBOD8qEte12mpfi9nNKQ35VCAXi59qBcuV3hQF+HV3w6IGz\n\tyWqnGtth97nLzBRYiyCsQ==", "X-UI-Out-Filterresults": "notjunk:1; V01:K0:0fh9ZRxBWZ0=:vGLufLRNSG0/ggsxryJP3u\n\t0nt7Ut4B15pVbC27I03fDbCbPjXEGJCTtIj4gh7/+GHVANuViX4JR4bGUl79qMIWM/DiKE0zq\n\tw4UFigapURHAYftTprt4zr0qs9NZpKu4g/XZOZrysW0fkIN7LXRjqZMnwcaYiyH+7f8vNR3CR\n\tg3DEm8yYtbXTZQW09XajnY6TNHLfds0y5Gq/8w86UXQ9cl0Ql/OCWSZWBjVCNwnDa1hlyZsld\n\tm6lQAOmnq4nRY1TOX7qzHHaRs/PJu0Y3BqRYAR6PbzyhKmYmagsT2zRIcr1wAoMw4MtH/W6DM\n\tC2zwQkwPf31JC0xXKF6UdNjBrD6G9kIQrWSU9nnpuneTC+oviXNq71inGoxY+9OCX2wxtstAt\n\tR3WF9fHFoMrJ/pOP5mzZ07qbCODNr1S+rfMyvLUULhlp+zawYI8i2/DYj2s2mJb7AfPX2Q8uY\n\t/Fu0P9dRLZz+wJ0tIAn7ZNdKhMab5dE2xtdsrjKjd63M7PrLiL5vCibI/ZEncuH0If3Fvvjho\n\tUgYDPVTUx8U9I/25ptSnrFF5scsxjWVC8vOZZ7cz0IRSc0tfhnvQS01K5O76hCV4uILgZm5As\n\tVkF9YilYnckELAsftV04/ofo32UTd6lfwGUTYcjW5F38aJSueRIhi8qWZjadiVpThp1Ibm9VB\n\t9wtUUMxczZzEWCK+ChWrRFaDnEFKFa3nauEtH6C7ZYYAjT4V7Ref1cXFInJTI4kxSD8MWk9qH\n\tOHNTIFHh4OV7fqkLBxjGdBH2PBLcMJUPNiuqH+74h7MCAjsihhUFujbq6mVk85kIHop0qu4iA\n\tJWwqmOh/Rl0xEyHwUAY1FbpibP4Kg==", "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>, u-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH 08/17] efi_loader: efi_net: hwaddr_size = 6", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "The length of a MAC address is 6.\nWe have to set this length in the EFI_SIMPLE_NETWORK_MODE\nstructure of the EFI_SIMPLE_NETWORK_PROTOCOL.\n\nWithout this patch iPXE fails to initialize the network with\nerror message\nSNP MAC(001e0633bcbf,0x0) has invalid hardware address length 0\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n lib/efi_loader/efi_net.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c\nindex fb23bcf633..9def34cf93 100644\n--- a/lib/efi_loader/efi_net.c\n+++ b/lib/efi_loader/efi_net.c\n@@ -245,6 +245,7 @@ int efi_net_register(void)\n \tnetobj->net.mode = &netobj->net_mode;\n \tnetobj->net_mode.state = EFI_NETWORK_STARTED;\n \tmemcpy(netobj->net_mode.current_address.mac_addr, eth_get_ethaddr(), 6);\n+\tnetobj->net_mode.hwaddr_size = ARP_HLEN;\n \tnetobj->net_mode.max_packet_size = PKTSIZE;\n \n \tnetobj->pxe.mode = &netobj->pxe_mode;\n", "prefixes": [ "U-Boot", "08/17" ] }