Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/447667/?format=api
{ "id": 447667, "url": "http://patchwork.ozlabs.org/api/patches/447667/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patches-20150308-3@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-patches-20150308-3@vittgam.net>", "list_archive_url": null, "date": "2015-03-08T01:44:01", "name": "[OpenWrt-Devel] ramips: Fix failsafe switch workaround for RT5350 introduced in r42179.", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "c4389d7e5447d3a362cad050efb96d376a4946fc", "submitter": { "id": 65409, "url": "http://patchwork.ozlabs.org/api/people/65409/?format=api", "name": "Vittorio Gambaletta", "email": "openwrt@vittgam.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patches-20150308-3@vittgam.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/447667/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/447667/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.1 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 1AFC7140187\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 8 Mar 2015 12:44:46 +1100 (AEDT)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 7414528488A;\n\tSun, 8 Mar 2015 02:44:20 +0100 (CET)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id EF8B128098D\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tSun, 8 Mar 2015 02:44:13 +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\tSun, 8 Mar 2015 02:44:10 +0100 (CET)", "from mail2.vittgam.net ([10.48.0.5])\n\tby mail.vittgam.net (8.14.4/8.14.4/Debian-2ubuntu2) with ESMTP id\n\tt281iM7T174187\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);\n\tSun, 8 Mar 2015 02:44:23 +0100", "from VittGamLaptop2 (VittGamLaptop2.router1net.VittGam.net\n\t[10.48.3.146])\n\tby mail2.vittgam.net (8.14.4/8.14.4/Debian-2ubuntu2) with SMTP id\n\tt281fXAV012020; Sun, 8 Mar 2015 02:44:01 +0100" ], "Authentication-Results": "ozlabs.org; dkim=fail\n\treason=\"verification failed; unprotected key\"\n\theader.d=vittgam.net header.i=@vittgam.net header.b=u+nijMsh;\n\tdkim-adsp=none (unprotected policy); 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=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID,\n\tT_RP_MATCHES_RCVD 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 t281iM7T174187", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20110809; t=1425779063;\n\tbh=ULjRVxA9frvwqAA1VQO42SNKfphNr/XsG8/16P5J/Ok=;\n\th=Date:Content-Type:From:Message-Id:To:Cc:Subject;\n\tb=u+nijMshbFVdJ4HWlBvwCMMBwqMS3gsB9v/2Wf1X4WHnFZ3h7SOFZTHD9ZQdel5g9\n\twbP0tBzSVAoRgrtaixfYz5CNDkGVqceEdP2Vtmm+aK5oHocu9ASf48jdRbSjjFRGu9\n\tJWDIvffzIjDvs+usvh7P4uzgaD/7xOhovCBFzf7k=", "Date": "Sun, 8 Mar 2015 02:44:01 +0100", "From": "\"Vittorio G (VittGam)\" <openwrt@vittgam.net>", "Message-Id": "<owrt-patches-20150308-3@vittgam.net>", "To": "<blogic@openwrt.org>", "Cc": "openwrt-devel@lists.openwrt.org", "Subject": "[OpenWrt-Devel] [PATCH] ramips: Fix failsafe switch workaround for\n\tRT5350 introduced in r42179.", "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": "This patch fixes the failsafe switch workaround to avoid soft-bricking routers where the only exposed Ethernet port is not 0 (it is 4 for the HT-TM02 for instance).\n\nThis is a follow-up of http://patchwork.ozlabs.org/patch/424017/ (sorry for the delay).\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>", "diff": "diff --git a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips b/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips\nindex cae6396..efdc5fd 100644\n--- 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@@ -20,7 +20,7 @@ ramips_set_preinit_iface() {\n \t\t# disabled:\n \t\t# https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg19870.html\n \t\tswconfig dev rt305x set enable_vlan 1\n-\t\tswconfig dev rt305x vlan 1 set ports \"0 6\"\n+\t\tswconfig dev rt305x vlan 1 set ports \"0 1 2 3 4 5 6\"\n \t\tswconfig dev rt305x port 6 set untag 0\n \t\tswconfig dev rt305x set apply 1\n \t\tvconfig add eth0 1\n", "prefixes": [ "OpenWrt-Devel" ] }