Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/617344/?format=api
{ "id": 617344, "url": "http://patchwork.ozlabs.org/api/patches/617344/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-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-20160502-4@vittgam.net>", "list_archive_url": null, "date": "2016-05-02T03:34:52", "name": "[OpenWrt-Devel,1/6] ramips: Fix multicast ICMPv6 for the rt3050 ethernet switch.", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "cf34a8afd7fad52f5b19d419eb3f4b5e9ea51b34", "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-4@vittgam.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/617344/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/617344/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 3qyqgS5yVvz9t3c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 2 May 2016 13:35:00 +1000 (AEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 7AFCEB91E01;\n\tMon, 2 May 2016 05:34:54 +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:34:54 +0200 (CEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 6371AB91DFC\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon, 2 May 2016 05:34:53 +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:34:53 +0200 (CEST)", "from vl3 (vl3.r12.network.mietitrebbia.rocks [10.48.6.117])\n\tby mail.vittgam.net with SMTP id u423Yqof184500\n\tfor <openwrt-devel@lists.openwrt.org>; Mon, 2 May 2016 05:34:52 +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=O8MeFNBW; 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 u423Yqof184500", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1462160092;\n\tbh=+Wzimg2FIp9mAofJC8iU60O2J4nCnSJ7myo+RiYK5rU=;\n\th=From:To:Subject:Content-Type:Message-ID;\n\tb=O8MeFNBWErp/G3NVIq6cQRjMf6RBG4+cT5B2gWDVg7Sw9kqSQQitqa8qejMDKtHPR\n\tSo0JXO+742/pnVtPxBRoKEJTM+DuOthi5nqZ2+Z5k0ZdunHy7F7/uOoZ2xG6RE2xh0\n\tpU2TiDog4rroJVsKrCFZP2Z/buLmgU++TdgXiKEbpYxpPk+hPkXQEgUDn0sz49zkwx\n\tmgR6zpn3eEDkqm//t1P2+dlQuXMiKbRejG6zAPsCIzPFUlBC42vS6hegr3AeHBJc5O\n\t08uSubUqV4qpqwHYaK9mNwnmaUHRehhvDRJuO7q+ePHV6ITeq6HqdkJv/QwnNPXzEo\n\t7j4Qg49tNcgzG1uw0zVsKPjqSRtJ+OAjSEQLFpHXCxVhqbW4tDeUDk5eBxOdV/A1U0\n\to9+kFhkkLPZSsGaGy5AWWeZCVf5tqFbyaF6Ol1b3RMk6OulL5LcKRjqZLxnFgrFcul\n\tuEHsv37rpy3j+YlvyFPEyW719HUXJD3H1JpiBoCE9d0n5EEHFJ09IrGXcfUo/Ppt19\n\tAkEW1l9xSLnfMa/EwDmI9kv/PVK0VBng5KA/Icyo3Um2dCYd30duMmhwtZB0pdSzf0\n\tMVJKxlKsj282+FsOHzgZds7BgbnkvV6q4RkakgmynPaN/FV+Tk0rS9Eesum92kgaos\n\tI94cHjqK8gdbYwJbuP64zfVM=", "Date": "Mon, 2 May 2016 05:34:52 +0200", "From": "\"Vittorio Gambaletta (VittGam)\" <openwrt@vittgam.net>", "To": "<openwrt-devel@lists.openwrt.org>", "Message-ID": "<owrt-patch-20160502-4@vittgam.net>", "Subject": "[OpenWrt-Devel] [PATCH 1/6] ramips: Fix multicast ICMPv6 for the\n\trt3050 ethernet switch.", "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": "The FCT2 esw register should be set to 0x2500C to have \"unknown IPv6\nmulticast\" packets broadcasted to every port, instead of dropped.\nThe previous value only let those packets go through ports 1 and 3.\n\n\"Unknown IPv6 multicast\" packets include packets needed by ICMPv6 echo\nrequests addressed to well-known addresses, such as ff02::1 (MAC address\nis 33:33:00:00:00:01 in this case).\n\nPlease note that by default ICMPv6 echo requests to ff02::1 are not replied\nto by the router because of ip6tables considering those packets to be invalid.\nBut this is another bug/patch. ;)\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---", "diff": "--- /dev/null\n+++ b/target/linux/ramips/patches-4.4/0515-net-mediatek-fix-multicast-icmpv6-for-the-rt3050-eth.patch\n@@ -0,0 +1,26 @@\n+From: Vittorio Gambaletta <openwrt@vittgam.net>\n+Date: Mon, 02 May 2016 04:55:48 +0200\n+Subject: [PATCH] net: mediatek: Fix multicast ICMPv6 for the rt3050 ethernet switch.\n+\n+The FCT2 esw register should be set to 0x2500C to have \"unknown IPv6\n+multicast\" packets broadcasted to every port, instead of dropped.\n+The previous value only let those packets go through ports 1 and 3.\n+\n+\"Unknown IPv6 multicast\" packets include packets needed by ICMPv6 echo\n+requests addressed to well-known addresses, such as ff02::1 (MAC address\n+is 33:33:00:00:00:01 in this case).\n+\n+Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n+---\n+\n+--- a/drivers/net/ethernet/mediatek/esw_rt3050.c\n++++ b/drivers/net/ethernet/mediatek/esw_rt3050.c\n+@@ -450,7 +450,7 @@ static void esw_hw_init(struct rt305x_es\n+ \t\t (RT305X_ESW_PORTS_NOCPU << RT305X_ESW_POC2_UNTAG_EN_S)),\n+ \t\tRT305X_ESW_REG_POC2);\n+ \n+-\tesw_w32(esw, 0x00d6500c, RT305X_ESW_REG_FCT2);\n++\tesw_w32(esw, 0x0002500c, RT305X_ESW_REG_FCT2);\n+ \n+ \t/* 300s aging timer, max packet len 1536, broadcast storm prevention\n+ \t * disabled, disable collision abort, mac xor48 hash, 10 packet back\n", "prefixes": [ "OpenWrt-Devel", "1/6" ] }