Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/552997/?format=api
{ "id": 552997, "url": "http://patchwork.ozlabs.org/api/patches/552997/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20151205-4@vittgam.net/", "project": { "id": 45, "url": "http://patchwork.ozlabs.org/api/projects/45/?format=api", "name": "OpenWrt development", "link_name": "openwrt", "list_id": "openwrt-devel.lists.openwrt.org", "list_email": "openwrt-devel@lists.openwrt.org", "web_url": "http://openwrt.org/", "scm_url": "git://git.openwrt.org/openwrt.git", "webscm_url": "https://dev.openwrt.org/browser", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<owrt-patch-20151205-4@vittgam.net>", "list_archive_url": null, "date": "2015-12-05T11:04:35", "name": "[OpenWrt-Devel] ramips: Fix failsafe for HT-TM02.", "commit_ref": null, "pull_url": null, "state": "rfc", "archived": false, "hash": "ac4340fa3633710cd079c4a2b6ba4623645cd71f", "submitter": { "id": 65409, "url": "http://patchwork.ozlabs.org/api/people/65409/?format=api", "name": "Vittorio Gambaletta", "email": "openwrt@vittgam.net" }, "delegate": { "id": 54613, "url": "http://patchwork.ozlabs.org/api/users/54613/?format=api", "username": "blogic", "first_name": "John", "last_name": "Crispin", "email": "blogic@openwrt.org" }, "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20151205-4@vittgam.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/552997/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/552997/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<openwrt-devel-bounces@lists.openwrt.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176])\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 0D4AB140A68\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 5 Dec 2015 22:07:01 +1100 (AEDT)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 0D8E928BD67;\n\tSat, 5 Dec 2015 12:04:48 +0100 (CET)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id E2AB128BD67\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tSat, 5 Dec 2015 12:04:38 +0100 (CET)", "from mail.vittgam.net (server1.vittgam.net [213.239.197.142])\n\tby arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tSat, 5 Dec 2015 12:04:38 +0100 (CET)", "from mail2.vittgam.net (server2.tincvpn.vittgam.net [10.48.0.5])\n\tby mail.vittgam.net with ESMTP id tB5B4dl9198470\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);\n\tSat, 5 Dec 2015 12:04:39 +0100", "from vl2 (vl2.r12.network.mietitrebbia.rocks [10.48.6.146])\n\tby mail2.vittgam.net with SMTP id tB5B3BT2007669;\n\tSat, 5 Dec 2015 12:04:35 +0100" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n\tunprotected) header.d=vittgam.net header.i=@vittgam.net\n\theader.b=XlenJua2; dkim-atps=neutral", "X-Spam-Checker-Version": "SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,\n\tT_DKIM_INVALID autolearn=unavailable version=3.3.2", "X-policyd-weight": "using cached result; rate: -7.6", "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net tB5B4dl9198470", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1449313480;\n\tbh=b4DwU0uRjhpAelXSR/Ba1qf/2t0Zm5LND72hlcX4bVM=;\n\th=Date:From:To:Subject:Content-Type:Message-ID;\n\tb=XlenJua2sJUPhWZSnOfzl5R0tVFzSx/GbjERNg1cK1gxdmbD8gxpQ9iOWf51U26Mm\n\tQs2hmp2UO+nWPsPJ9uxHNCP2aHfoqbGYp229qPjnujiztiT4LnK8UIaONFfGSMcva7\n\tQgb9XuLEDtDgV0UlfT2iKPcVkRs/WmiEKwN69Gx8IhlemwSPTZJShnDmAEDEEgldrx\n\tXbwRrX7f/Bgsy4+oPC1gEnP3DlQ77Xb6BUNe76p12O7FEmVcLc+jMKLgUVv/X3AOx4\n\tuxB5E5YsD50bQOg82ZSfuc335veO/oPt5wqjUfAp3G0ysJcVcfese5CsG9VQdnOqHK\n\tAf8IN4BjwP7pKAEdF79WUJDnWM62dam/IKpjBQZWmLKsI+SeroigA71srwjtv+j6f8\n\t7GjJX1xyDx54yo3sxSH98Q7p5u8C+nc5H9fbVpbCNTieLglZxCdhZ74aZhKB6YjLBG\n\tGzsvGLWBEYNlezQexRtd2GsPM7V4KXGhwa8cobVW9QpHdbhuScfkrT5ZkCeCw+BiEi\n\tnC3mC5+X0HexlYBh1lBkPIRVG4l8CwEngF19s+q2sdwC4RXVruPTnpy03H+U4B9OQC\n\tx/NGFpth0Ka7L10muFSSnH1ehBntCJ7EQFkcapAMWLNGAMKJyQ/PsTZKTMd3cxt3DZ\n\tzZJXPAPqdZkC4U9L6ST29vzU=", "Date": "Sat, 5 Dec 2015 12:04:35 +0100", "From": "\"Vittorio G (VittGam)\" <openwrt@vittgam.net>", "To": "<openwrt-devel@lists.openwrt.org>", "Message-ID": "<owrt-patch-20151205-4@vittgam.net>", "Subject": "[OpenWrt-Devel] [PATCH] ramips: Fix failsafe for HT-TM02.", "X-BeenThere": "openwrt-devel@lists.openwrt.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "OpenWrt Development List <openwrt-devel.lists.openwrt.org>", "List-Unsubscribe": "<https://lists.openwrt.org/cgi-bin/mailman/options/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>", "List-Archive": "<http://lists.openwrt.org/pipermail/openwrt-devel/>", "List-Post": "<mailto:openwrt-devel@lists.openwrt.org>", "List-Help": "<mailto:openwrt-devel-request@lists.openwrt.org?subject=help>", "List-Subscribe": "<https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "openwrt-devel-bounces@lists.openwrt.org", "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>" }, "content": "The failsafe VLAN workaround is not needed on HT-TM02 (RT5350); it actually breaks\nfailsafe since this router has only one port and it is 4 and not 0.\n\nAnyway, it seems that the workaround is still needed for other routers (see\nhttps://patchwork.ozlabs.org/patch/424017/ for a previous attempt at removal of\nthe whole workaround).\n\nSo this patch explicitly whitelists the HT-TM02 from getting the VLAN workaround.\n\nThis makes failsafe work correctly on it via the ethernet port.\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n\n---\n\nPlease apply to both trunk and CC.", "diff": "--- a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips\n+++ b/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips\n@@ -11,7 +11,7 @@ ramips_set_preinit_iface() {\n \t\tswconfig dev rt305x set reset 1\n \tfi\n \n-\tif echo $RT3X5X | egrep -q \"(RT5350|MT7628|MT7688)\"; then\n+\tif echo $RT3X5X | egrep -q \"(RT5350|MT7628|MT7688)\" && [ \"$(ramips_board_name)\" != \"ht-tm02\" ]; then\n \t\t# This is a dirty hack to get by while the switch\n \t\t# problem is investigated. When VLAN is disabled, ICMP\n \t\t# pings work as expected, but TCP connections time\n", "prefixes": [ "OpenWrt-Devel" ] }