Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/617350/?format=api
{ "id": 617350, "url": "http://patchwork.ozlabs.org/api/patches/617350/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-10@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-20160502-10@vittgam.net>", "list_archive_url": null, "date": "2016-05-02T03:50:34", "name": "[OpenWrt-Devel,1/2] ramips: Fix network for routers without VLANs on eth0.", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "17e05a840b12fa76664eb4481b37e9f94953eff1", "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-patch-20160502-10@vittgam.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/617350/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/617350/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", "<openwrt-devel@lists.openwrt.org>" ], "Received": [ "from arrakis.dune.hu (caladan.dune.hu [78.24.191.180])\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 3qyr1d20ddz9t5c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 2 May 2016 13:50:45 +1000 (AEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 58EA9B912CB;\n\tMon, 2 May 2016 05:50:39 +0200 (CEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tMon, 2 May 2016 05:50:39 +0200 (CEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id C9EBDB912B6\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon, 2 May 2016 05:50:35 +0200 (CEST)", "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\tMon, 2 May 2016 05:50:35 +0200 (CEST)", "from vl3 (vl3.r12.network.mietitrebbia.rocks [10.48.6.117])\n\tby mail.vittgam.net with SMTP id u423oYla184929\n\tfor <openwrt-devel@lists.openwrt.org>; Mon, 2 May 2016 05:50:34 +0200" ], "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=L8IOFtXF; dkim-atps=neutral", "X-Spam-Checker-Version": "SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.1", "X-policyd-weight": "using cached result; rate:hard: -6.1", "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net u423oYla184929", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1462161034;\n\tbh=zqFGXIS1UcgvoxyWr2dkgzUdsD3fnIrsV6xusHntk7M=;\n\th=From:To:Subject:Content-Type:Message-ID;\n\tb=L8IOFtXFK4arQPhkTpBD9NJCckLUfI0Fwx6m5X+OoY4aPk53lAUCKYWTL+dulQCMQ\n\t7fKlXUW+ipkbSH/VoWw0jPtl+x4rUv2xkYHNhdAPAjfevVr8p0qDuVb8AKngf8L0w3\n\t7A971Im1NCfaGtZf/fh8Za17AQ33ygPzJaqYhxJUwnG0w2C9lD8V3JwRgsU1p0mz/Q\n\tNELb6nA+VVAIbNxvqiWPCqAeyeOJlTXmNK2VtxvzXQb1LathYgwq3gQM7LF2nKdFZj\n\tJOmzYZgN99CXwNn6pZU2/Nv9p1CAsFMFilBkilRlzuGPh4/qeUlUSJnMCR3Ol5MX+/\n\tQqANDgXfWwefb2rAixehwKtvma+GCJT4Qmy7xqcApuHZPASglmgnSL0j22ScqwHRZ9\n\tmXvI0j6aFL8e/V15uPjGbVH55lFBtiQ2fC4jp6NPIQsV1bRwsHartVc4ByAO6C1tk/\n\tyjgtzVNm1PwFYDUJ8hg2msjzqjoqt0hZnDF++EM+qXc/sxxuje5TKcijqSTuEZIu+y\n\tvdDuX8V4r0susTW1e4W1yh6n3kjGIRX09cF6FnksxiOY3ZpTT5Ikto6jcLJV1oKDKJ\n\tf+Ee1zLErinMuLrGlm9fESuYn0o06iiTBWsKgzvfS0HBKQDX30LVejhJZWCKlbUXzZ\n\tGhW/1rgk52ABY93liHggrZRY=", "Date": "Mon, 2 May 2016 05:50:34 +0200", "From": "\"Vittorio Gambaletta (VittGam)\" <openwrt@vittgam.net>", "To": "<openwrt-devel@lists.openwrt.org>", "Message-ID": "<owrt-patch-20160502-10@vittgam.net>", "Subject": "[OpenWrt-Devel] [PATCH 1/2] ramips: Fix network for routers without\n\tVLANs on eth0.", "X-BeenThere": "openwrt-devel@lists.openwrt.org", "X-Mailman-Version": "2.1.20", "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=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "openwrt-devel-bounces@lists.openwrt.org", "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>" }, "content": "Some routers only have one port, so eth0 is used without VLANs for them.\n\nRevision r47720 introduced some changes, but wrongly confused \"enable\" with \"reset\".\n\nVLANs need to be disabled for those routers, and the switch may be reset.\n\nFix this, by explicitly disabling VLANs instead of resetting the switch for these routers.\n\nAlso merge duplicate configuration for the \"m2m\".\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---", "diff": "--- a/target/linux/ramips/base-files/etc/board.d/02_network\n+++ b/target/linux/ramips/base-files/etc/board.d/02_network\n@@ -44,13 +44,14 @@ ramips_setup_interfaces()\n \tht-tm02|\\\n \tlinkits7688 | \\\n \tlinkits7688d | \\\n+\tm2m|\\\n \tmicrowrt|\\\n \tncs601w|\\\n \tw150m|\\\n \twnce2001|\\\n \tzte-q7)\n \t\tucidef_add_switch \"switch0\"\n-\t\tucidef_add_switch_attr \"switch0\" \"reset\" \"false\"\n+\t\tucidef_add_switch_attr \"switch0\" \"enable\" \"false\"\n \t\tucidef_set_interface_lan \"eth0\"\n \t\t;;\n \t3g-6200nl|\\\n@@ -180,11 +181,6 @@ ramips_setup_interfaces()\n \t\tucidef_add_switch \"switch0\" \\\n \t\t\t\"1:lan\" \"2:lan\" \"3:lan\" \"4:lan\" \"5:lan\" \"0:wan\" \"6@eth0\"\n \t\t;;\n-\tm2m)\n-\t\tucidef_add_switch \"switch0\"\n-\t\tucidef_add_switch_attr \"switch0\" \"reset\" \"false\"\n-\t\tucidef_set_interface_lan \"eth0\"\n-\t\t;;\n \tmlwg2|\\\n \twizard8800|\\\n \twl-330n|\\\n", "prefixes": [ "OpenWrt-Devel", "1/2" ] }