[LEDE-DEV] [PATCH] kernel: bump to 4.9.99
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Refresh patches. Tested-on: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant--- include/kernel-version.mk | 4 +-- .../ar7/patches-4.9/300-add-ac49x-platform.patch | 4 +-- .../403-mtd_fix_cfi_cmdset_0002_status_check.patch | 14 +- .../411-mtd-cfi_cmdset_0002-force-word-write.patch | 6 ++--- .../ar71xx/patches-4.9/500-MIPS-fw-myloader.patch | 2 +- .../ar71xx/patches-4.9/604-MIPS-ath79-no-of.patch | 2 +- ...4-ARM-at91-build-dtb-for-sama5d27-SOM1-Ek.patch | 31 ++ ...105-ARM-at91-build-dtb-for-sama5d2-ptc-Ek.patch | 17 .../linux/ath25/patches-4.9/107-ar5312_gpio.patch | 2 +- .../patches-4.9/950-0031-Add-dwc_otg-driver.patch | 2 +- ...fill-user-BO-creation-requests-from-the-k.patch | 2 +- ...-OOPSes-from-trying-to-cache-a-partially-.patch | 2 +- ...01-MIPS-BCM63XX-add-clkdev-lookup-support.patch | 2 +- .../322-MIPS-BCM63XX-switch-to-IRQ_DOMAIN.patch| 2 +- .../linux/generic/hack-4.9/220-gc_sections.patch | 2 +- .../hack-4.9/301-mips_image_cmdline_hack.patch | 2 +- ...net-usb-add-lte-modem-wistron-neweb-d18q1.patch | 2 +- ...t-qmi_wwan-add-BroadMobi-BM806U-2020-2033.patch | 2 +- .../pending-4.9/300-mips_expose_boot_raw.patch | 4 +-- .../generic/pending-4.9/304-mips_disable_fpu.patch | 2 +- ...m-remove-no-op-dma_map_ops-where-possible.patch | 12 - ..._cmdset_0002-add-buffer-write-cmd-timeout.patch | 2 +- .../pending-4.9/630-packet_socket_type.patch | 16 +-- ...jecting-with-source-address-failed-policy.patch | 16 +-- .../pending-4.9/890-uart_optional_sysrq.patch | 2 +- .../patches-4.9/090-increase_entropy_pools.patch | 2 +- .../linux/lantiq/patches-4.9/0152-lantiq-VPE.patch | 2 +- .../patches-4.9/817-usb-support-layerscape.patch | 18 ++--- .../102-powerpc-add-cmdline-override.patch | 2 +- 29 files changed, 78 insertions(+), 100 deletions(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index cf84e31f7b..e49b66dcf2 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -4,12 +4,12 @@ LINUX_RELEASE?=1 LINUX_VERSION-3.18 = .71 LINUX_VERSION-4.4 = .121 -LINUX_VERSION-4.9 = .96 +LINUX_VERSION-4.9 = .99 LINUX_VERSION-4.14 = .37 LINUX_KERNEL_HASH-3.18.71 = 5abc9778ad44ce02ed6c8ab52ece8a21c6d20d21f6ed8a19287b4a38a50c1240 LINUX_KERNEL_HASH-4.4.121 = 44a88268b5088dc326b30c9b9133ac35a9a200b636b7268d08f32abeae6ca729 -LINUX_KERNEL_HASH-4.9.96 = 826f596eb5197f8b17304649c2990dd7b766f5c79076cae79f4261c40cea877f +LINUX_KERNEL_HASH-4.9.99 = 3dc3eb8c918bca444c8e6c061d534b1a8a5ac60a5b5d7065141f7b8e204213df LINUX_KERNEL_HASH-4.14.37 = 8197e7ed3620713e412905430a7bf93e2048384042ffba189a66f0eeb6908e92 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1 diff --git a/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch b/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch index 67ed3e494a..639f09709b 100644 --- a/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch +++ b/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch @@ -37,7 +37,7 @@ #define AR7_IRQ_UART0 15 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -160,7 +160,7 @@ config AR7 +@@ -161,7 +161,7 @@ config AR7 select HAVE_CLK help Support for the Texas Instruments AR7 System-on-a-Chip @@ -46,7 +46,7 @@ config ATH25 bool "Atheros AR231x/AR531x SoC support" -@@ -1004,6 +1004,7 @@ config MIPS_PARAVIRT +@@ -1005,6 +1005,7 @@ config MIPS_PARAVIRT endchoice source "arch/mips/alchemy/Kconfig" diff --git a/target/linux/ar71xx/patches-4.9/403-mtd_fix_cfi_cmdset_0002_status_check.patch b/target/linux/ar71xx/patches-4.9/403-mtd_fix_cfi_cmdset_0002_status_check.patch index 415d835ee3..3a7fe99e65 100644 --- a/target/linux/ar71xx/patches-4.9/403-mtd_fix_cfi_cmdset_0002_status_check.patch +++ b/target/linux/ar71xx/patches-4.9/403-mtd_fix_cfi_cmdset_0002_status_check.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c -@@ -1630,8 +1630,8 @@ static int __xipram do_write_oneword(str +@@ -1631,8 +1631,8 @@ static int __xipram do_write_oneword(str break; } @@ -11,7 +11,7 @@ /* Latency issues. Drop the lock, wait a while and retry */ UDELAY(map, chip, adr, 1); -@@ -1647,6 +1647,8 @@ static int __xipram do_write_oneword(str +@@ -1648,6 +1648,8 @@ static int __xipram do_write_oneword(str ret = -EIO; } @@ -20,7 +20,7 @@ xip_enable(map, chip, adr); op_done: if (mode ==
Re: [LEDE-DEV] MMAP memory out of sync on AR71xx Rambutan (8devices) board.
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- > On 8 May 2018, at 21:11, Rosen Penevwrote: > >> >> So out of curiosity I built this for my Archer C7 v2 ar71xx device. I also >> modified the code to not give up on ‘OK’, so it always iterated 10 times. I >> then ran this repeatedly using ‘watch’. Observations: >> >> 1) Failure only occurred on 1st check, it never appeared/re-appeared on >> subsequent passes. >> 2) Failure offsets are always at 32 byte intervals. That corresponds nicely >> with cache-line size. > Yeah the L1 >> >> Grabbing at straws to some extent. So I modified the user space code a little more, namely moving the usleep to before the check (obviously still after the mmap) - I am yet to see an error. printf("mmap addr: %p\n", addr); data = addr; for (i = 0; i < 10; i++) { usleep(50); check_data(data, page_size); } So that smells more of a race condition between the writer filling with 0xFF and the reader catching up. Again, assume that I am an idiot and am missing something fundamental. signature.asc Description: Message signed with OpenPGP --- End Message --- ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
Re: [LEDE-DEV] MMAP memory out of sync on AR71xx Rambutan (8devices) board.
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- > On 8 May 2018, at 11:16, Daniel Danzbergerwrote: > >>> >>> Did you encounter this issue with kernel 4.9? For me, 4.4 caused no >>> data corruption on my external hard drive. >> I can't tell right now. I was trying to use an older version with kernel 4.4, >> but it fails to build. > I just tested with 4.4 and the problem is present there as well. >>> So out of curiosity I built this for my Archer C7 v2 ar71xx device. I also modified the code to not give up on ‘OK’, so it always iterated 10 times. I then ran this repeatedly using ‘watch’. Observations: 1) Failure only occurred on 1st check, it never appeared/re-appeared on subsequent passes. 2) Failure offsets are always at 32 byte intervals. That corresponds nicely with cache-line size. Grabbing at straws to some extent. Cheers, Kevin D-B 012C ACB2 28C6 C53E 9775 9123 B3A2 389B 9DE2 334A signature.asc Description: Message signed with OpenPGP --- End Message --- ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
[LEDE-DEV] [PATCH] kmod-sched-cake: bump to latest cake 2018-05-07
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- No functional change. Code tidy ups. 735eaf2 Make sure we don't reallocate q->tins (we didn't anyway but his really makes sure) 6c5ad6e Get rid of __GFP_NOWARN flag for memory allocation 2a37333 Don't need the wrapper for kvfree, and no need to check before calling it 2b1c631 Whitespace fix 7fe6e28 compat tidyup (for older kernel versions <4.4) 93b805c pedant tidy up superfluous semicolons on switch statements Signed-off-by: Kevin Darbyshire-Bryant--- package/kernel/kmod-sched-cake/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/kernel/kmod-sched-cake/Makefile b/package/kernel/kmod-sched-cake/Makefile index fe5e2acd50..4f25e56e0e 100644 --- a/package/kernel/kmod-sched-cake/Makefile +++ b/package/kernel/kmod-sched-cake/Makefile @@ -13,9 +13,9 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git -PKG_SOURCE_DATE:=2018-05-04 -PKG_SOURCE_VERSION:=e848241cda393fe1fa643156bcdbe81764bfe060 -PKG_MIRROR_HASH:=70fd1f79dcdf39e47957fa6684a1a41c1b50f51896781bea0d27bc9e8ff057ab +PKG_SOURCE_DATE:=2018-05-07 +PKG_SOURCE_VERSION:=735eaf21e980117e171de9fe7ce046ab8e9f16db +PKG_MIRROR_HASH:=4dd90cf152e876371d363f2442154464cffcee5d64b916a7f4a9fb897ff0d1d9 PKG_MAINTAINER:=Kevin Darbyshire-Bryant include $(INCLUDE_DIR)/package.mk -- 2.15.1 (Apple Git-101) --- End Message --- ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
[LEDE-DEV] [PATCH] kernel: bump to 4.9.98
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Refresh patches. Tested-on: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant--- include/kernel-version.mk | 4 ++-- .../linux/ar7/patches-4.9/300-add-ac49x-platform.patch | 4 ++-- .../403-mtd_fix_cfi_cmdset_0002_status_check.patch | 14 +++--- .../411-mtd-cfi_cmdset_0002-force-word-write.patch | 6 +++--- .../ar71xx/patches-4.9/500-MIPS-fw-myloader.patch | 2 +- .../ar71xx/patches-4.9/604-MIPS-ath79-no-of.patch | 2 +- target/linux/ath25/patches-4.9/107-ar5312_gpio.patch | 2 +- .../patches-4.9/950-0031-Add-dwc_otg-driver.patch | 2 +- ...-Fulfill-user-BO-creation-requests-from-the-k.patch | 2 +- ...-Fix-OOPSes-from-trying-to-cache-a-partially-.patch | 2 +- 15-01-MIPS-BCM63XX-add-clkdev-lookup-support.patch | 2 +- .../322-MIPS-BCM63XX-switch-to-IRQ_DOMAIN.patch| 2 +- target/linux/generic/hack-4.9/220-gc_sections.patch| 2 +- .../generic/hack-4.9/301-mips_image_cmdline_hack.patch | 2 +- .../generic/pending-4.9/300-mips_expose_boot_raw.patch | 4 ++-- .../generic/pending-4.9/304-mips_disable_fpu.patch | 2 +- ...PS-mm-remove-no-op-dma_map_ops-where-possible.patch | 12 ++-- ...-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch | 2 +- .../generic/pending-4.9/630-packet_socket_type.patch | 16 ...w-rejecting-with-source-address-failed-policy.patch | 16 .../generic/pending-4.9/890-uart_optional_sysrq.patch | 2 +- .../patches-4.9/090-increase_entropy_pools.patch | 2 +- target/linux/lantiq/patches-4.9/0152-lantiq-VPE.patch | 2 +- .../patches-4.9/817-usb-support-layerscape.patch | 18 +- .../patches-4.9/102-powerpc-add-cmdline-override.patch | 2 +- 25 files changed, 63 insertions(+), 63 deletions(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index cf84e31f7b..fc0856554c 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -4,12 +4,12 @@ LINUX_RELEASE?=1 LINUX_VERSION-3.18 = .71 LINUX_VERSION-4.4 = .121 -LINUX_VERSION-4.9 = .96 +LINUX_VERSION-4.9 = .98 LINUX_VERSION-4.14 = .37 LINUX_KERNEL_HASH-3.18.71 = 5abc9778ad44ce02ed6c8ab52ece8a21c6d20d21f6ed8a19287b4a38a50c1240 LINUX_KERNEL_HASH-4.4.121 = 44a88268b5088dc326b30c9b9133ac35a9a200b636b7268d08f32abeae6ca729 -LINUX_KERNEL_HASH-4.9.96 = 826f596eb5197f8b17304649c2990dd7b766f5c79076cae79f4261c40cea877f +LINUX_KERNEL_HASH-4.9.98 = 12cd90355adbc946e7e95aa5cdef2dd99b8e166cb64fe53a91c3e1d8f81810ef LINUX_KERNEL_HASH-4.14.37 = 8197e7ed3620713e412905430a7bf93e2048384042ffba189a66f0eeb6908e92 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1 diff --git a/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch b/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch index 67ed3e494a..639f09709b 100644 --- a/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch +++ b/target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch @@ -37,7 +37,7 @@ #define AR7_IRQ_UART0 15 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -160,7 +160,7 @@ config AR7 +@@ -161,7 +161,7 @@ config AR7 select HAVE_CLK help Support for the Texas Instruments AR7 System-on-a-Chip @@ -46,7 +46,7 @@ config ATH25 bool "Atheros AR231x/AR531x SoC support" -@@ -1004,6 +1004,7 @@ config MIPS_PARAVIRT +@@ -1005,6 +1005,7 @@ config MIPS_PARAVIRT endchoice source "arch/mips/alchemy/Kconfig" diff --git a/target/linux/ar71xx/patches-4.9/403-mtd_fix_cfi_cmdset_0002_status_check.patch b/target/linux/ar71xx/patches-4.9/403-mtd_fix_cfi_cmdset_0002_status_check.patch index 415d835ee3..3a7fe99e65 100644 --- a/target/linux/ar71xx/patches-4.9/403-mtd_fix_cfi_cmdset_0002_status_check.patch +++ b/target/linux/ar71xx/patches-4.9/403-mtd_fix_cfi_cmdset_0002_status_check.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c -@@ -1630,8 +1630,8 @@ static int __xipram do_write_oneword(str +@@ -1631,8 +1631,8 @@ static int __xipram do_write_oneword(str break; } @@ -11,7 +11,7 @@ /* Latency issues. Drop the lock, wait a while and retry */ UDELAY(map, chip, adr, 1); -@@ -1647,6 +1647,8 @@ static int __xipram do_write_oneword(str +@@ -1648,6 +1648,8 @@ static int __xipram do_write_oneword(str ret = -EIO; } @@ -20,7 +20,7 @@ xip_enable(map, chip, adr); op_done: if (mode == FL_OTP_WRITE) -@@ -2225,7 +2227,6 @@ static int cfi_amdstd_panic_write(struct +@@ -2226,7 +2228,6 @@ static int cfi_amdstd_panic_write(struct
[LEDE-DEV] [PATCH] dnsmasq: bump to 2.80test2
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Refresh patches and backport: Be persistent with broken-upstream-DNSSEC warnings. Fix DHCP broken-ness when --no-ping AND --dhcp-sequential-ip are set. Add logging for DNS error returns from upstream and local configuration. Compile & run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant--- package/network/services/dnsmasq/Makefile | 8 +- ...tent-with-broken-upstream-DNSSEC-warnings.patch | 26 +++ ...oken-ness-when-no-ping-AND-dhcp-sequentia.patch | 35 ...-for-DNS-error-returns-from-upstream-and-.patch | 184 + .../services/dnsmasq/patches/240-ubus.patch| 8 +- 5 files changed, 253 insertions(+), 8 deletions(-) create mode 100644 package/network/services/dnsmasq/patches/0001-Be-persistent-with-broken-upstream-DNSSEC-warnings.patch create mode 100644 package/network/services/dnsmasq/patches/0002-Fix-DHCP-broken-ness-when-no-ping-AND-dhcp-sequentia.patch create mode 100644 package/network/services/dnsmasq/patches/0003-Add-logging-for-DNS-error-returns-from-upstream-and-.patch diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index b6502bf5d0..7fa61ad04f 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsmasq -PKG_VERSION:=2.79 -PKG_RELEASE:=3 +PKG_VERSION:=2.80test2 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq/ -PKG_HASH:=78ad74f5ca14fd85a8bac93f764cd9d60b27579e90eabd3687ca7b030e67861f +PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq/test-releases +PKG_HASH:=e731666094699afcbad947f89f7f8afbf92e5ddc3c915459d4936159d81116f0 PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING diff --git a/package/network/services/dnsmasq/patches/0001-Be-persistent-with-broken-upstream-DNSSEC-warnings.patch b/package/network/services/dnsmasq/patches/0001-Be-persistent-with-broken-upstream-DNSSEC-warnings.patch new file mode 100644 index 00..beeb15435c --- /dev/null +++ b/package/network/services/dnsmasq/patches/0001-Be-persistent-with-broken-upstream-DNSSEC-warnings.patch @@ -0,0 +1,26 @@ +From f84e674d8aa2316fea8d2145a40fcef0441e3856 Mon Sep 17 00:00:00 2001 +From: Simon Kelley +Date: Fri, 4 May 2018 16:29:57 +0100 +Subject: [PATCH 1/3] Be persistent with broken-upstream-DNSSEC warnings. + +Signed-off-by: Kevin Darbyshire-Bryant +--- + src/dnssec.c | 7 +-- + 1 file changed, 1 insertion(+), 6 deletions(-) + +--- a/src/dnssec.c b/src/dnssec.c +@@ -876,12 +876,7 @@ int dnssec_validate_ds(time_t now, struc + + if (rc == STAT_INSECURE) + { +- static int reported = 0; +- if (!reported) +- { +-reported = 1; +-my_syslog(LOG_WARNING, _("Insecure DS reply received, do upstream DNS servers support DNSSEC?")); +- } ++ my_syslog(LOG_WARNING, _("Insecure DS reply received, do upstream DNS servers support DNSSEC?")); + rc = STAT_BOGUS; + } + diff --git a/package/network/services/dnsmasq/patches/0002-Fix-DHCP-broken-ness-when-no-ping-AND-dhcp-sequentia.patch b/package/network/services/dnsmasq/patches/0002-Fix-DHCP-broken-ness-when-no-ping-AND-dhcp-sequentia.patch new file mode 100644 index 00..eb15113857 --- /dev/null +++ b/package/network/services/dnsmasq/patches/0002-Fix-DHCP-broken-ness-when-no-ping-AND-dhcp-sequentia.patch @@ -0,0 +1,35 @@ +From 0669ee7a69a004ce34fed41e50aa575f8e04427b Mon Sep 17 00:00:00 2001 +From: Simon Kelley +Date: Fri, 4 May 2018 16:46:24 +0100 +Subject: [PATCH 2/3] Fix DHCP broken-ness when --no-ping AND + --dhcp-sequential-ip are set. + +Signed-off-by: Kevin Darbyshire-Bryant +--- + CHANGELOG | 3 ++- + src/dhcp.c | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-) + +--- a/CHANGELOG b/CHANGELOG +@@ -14,7 +14,8 @@ version 2.80 + when the upstream namesevers do not support DNSSEC, and in this + case no DNSSEC validation at all is occuring. + +- ++Fix DHCP broken-ness when --no-ping AND --dhcp-sequential-ip ++ are set. Thanks to Daniel Miess for help with this. + + + version 2.79 +--- a/src/dhcp.c b/src/dhcp.c +@@ -678,7 +678,7 @@ struct ping_result *do_icmp_ping(time_t + if ((count >= max) || option_bool(OPT_NO_PING) || loopback) + { + /* overloaded, or configured not to check, loopback interface, return "not in use" */ +- dummy.hash = 0; ++ dummy.hash = hash; + return + } + else if (icmp_ping(addr)) diff --git
Re: [LEDE-DEV] [PATCH] igmpproxy: bump to 0.2.1
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- > On 7 May 2018, at 09:34, John Crispinwrote: > > Hi Kevin, > > apparently you have a 10->11 patch in your tree that needs to be applied > prior to the 11->12 update > > John Oh :-( That means https://github.com/openwrt/openwrt/pull/828 still hasn’t been applied. Cheers, Kevin D-B 012C ACB2 28C6 C53E 9775 9123 B3A2 389B 9DE2 334A --- End Message --- ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
[LEDE-DEV] [PATCH 2/2] cake: bump to 20180504 bake
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Cake is bearing fruits of kernel upstreaming efforts. diffserv-llt dropped. DSCP mapping paper died and no one using it. ack-filter re-written & simplified tc userspace & cake kmod netlink interface usage changed in non backwards compatible way, thus this once requires tc & cake to be in-step. Change due to upstream requirements. Signed-off-by: Kevin Darbyshire-Bryant--- package/kernel/kmod-sched-cake/Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/kernel/kmod-sched-cake/Makefile b/package/kernel/kmod-sched-cake/Makefile index 2156eee0e4..fe5e2acd50 100644 --- a/package/kernel/kmod-sched-cake/Makefile +++ b/package/kernel/kmod-sched-cake/Makefile @@ -13,9 +13,10 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git -PKG_SOURCE_DATE:=2018-03-19 -PKG_SOURCE_VERSION:=0afc1bee4e9fc5d75668cb10254ab5d2d02f0098 -PKG_MIRROR_HASH:=b8ac95753d05ff602282ed5a799f9c953f60decebc5720ee8f0101344a5acfc4 +PKG_SOURCE_DATE:=2018-05-04 +PKG_SOURCE_VERSION:=e848241cda393fe1fa643156bcdbe81764bfe060 +PKG_MIRROR_HASH:=70fd1f79dcdf39e47957fa6684a1a41c1b50f51896781bea0d27bc9e8ff057ab +PKG_MAINTAINER:=Kevin Darbyshire-Bryant include $(INCLUDE_DIR)/package.mk -- 2.15.1 (Apple Git-101) --- End Message --- ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
[LEDE-DEV] [PATCH 1/2] iproute2: import latest cake
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Bearing fruits of the latest upstreaming efforts on cake. Changes: diffserv-llt dropped. The paper describing this DSCP allocation has gone stale and doesn't appear used. The userspace to kernel netlink messages for cake have been reworked in a backwards incompatible way, so tc & cake must be bumped together this once. Signed-off-by: Kevin Darbyshire-Bryant--- package/network/utils/iproute2/Makefile| 2 +- .../iproute2/patches/950-add-cake-to-tc.patch | 869 ++--- 2 files changed, 425 insertions(+), 446 deletions(-) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index f5a9db321d..88a4851748 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iproute2 PKG_VERSION:=4.16.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2 diff --git a/package/network/utils/iproute2/patches/950-add-cake-to-tc.patch b/package/network/utils/iproute2/patches/950-add-cake-to-tc.patch index c8f70da132..3c2cdaaac3 100644 --- a/package/network/utils/iproute2/patches/950-add-cake-to-tc.patch +++ b/package/network/utils/iproute2/patches/950-add-cake-to-tc.patch @@ -1,6 +1,6 @@ --- a/include/uapi/linux/pkt_sched.h +++ b/include/uapi/linux/pkt_sched.h -@@ -934,4 +934,75 @@ enum { +@@ -934,4 +934,110 @@ enum { #define TCA_CBS_MAX (__TCA_CBS_MAX - 1) @@ -22,66 +22,101 @@ + TCA_CAKE_MPU, + TCA_CAKE_INGRESS, + TCA_CAKE_ACK_FILTER, ++ TCA_CAKE_SPLIT_GSO, + __TCA_CAKE_MAX +}; +#define TCA_CAKE_MAX (__TCA_CAKE_MAX - 1) + -+struct tc_cake_traffic_stats { -+ __u32 packets; -+ __u32 link_ms; -+ __u64 bytes; ++enum { ++ __TCA_CAKE_STATS_INVALID, ++ TCA_CAKE_STATS_CAPACITY_ESTIMATE, ++ TCA_CAKE_STATS_MEMORY_LIMIT, ++ TCA_CAKE_STATS_MEMORY_USED, ++ TCA_CAKE_STATS_AVG_NETOFF, ++ TCA_CAKE_STATS_MIN_NETLEN, ++ TCA_CAKE_STATS_MAX_NETLEN, ++ TCA_CAKE_STATS_MIN_ADJLEN, ++ TCA_CAKE_STATS_MAX_ADJLEN, ++ TCA_CAKE_STATS_TIN_STATS, ++ __TCA_CAKE_STATS_MAX +}; ++#define TCA_CAKE_STATS_MAX (__TCA_CAKE_STATS_MAX - 1) + ++enum { ++ __TCA_CAKE_TIN_STATS_INVALID, ++ TCA_CAKE_TIN_STATS_PAD, ++ TCA_CAKE_TIN_STATS_SENT_PACKETS, ++ TCA_CAKE_TIN_STATS_SENT_BYTES64, ++ TCA_CAKE_TIN_STATS_DROPPED_PACKETS, ++ TCA_CAKE_TIN_STATS_DROPPED_BYTES64, ++ TCA_CAKE_TIN_STATS_ACKS_DROPPED_PACKETS, ++ TCA_CAKE_TIN_STATS_ACKS_DROPPED_BYTES64, ++ TCA_CAKE_TIN_STATS_ECN_MARKED_PACKETS, ++ TCA_CAKE_TIN_STATS_ECN_MARKED_BYTES64, ++ TCA_CAKE_TIN_STATS_BACKLOG_PACKETS, ++ TCA_CAKE_TIN_STATS_BACKLOG_BYTES64, ++ TCA_CAKE_TIN_STATS_THRESHOLD_RATE, ++ TCA_CAKE_TIN_STATS_TARGET_US, ++ TCA_CAKE_TIN_STATS_INTERVAL_US, ++ TCA_CAKE_TIN_STATS_WAY_INDIRECT_HITS, ++ TCA_CAKE_TIN_STATS_WAY_MISSES, ++ TCA_CAKE_TIN_STATS_WAY_COLLISIONS, ++ TCA_CAKE_TIN_STATS_PEAK_DELAY_US, ++ TCA_CAKE_TIN_STATS_AVG_DELAY_US, ++ TCA_CAKE_TIN_STATS_BASE_DELAY_US, ++ TCA_CAKE_TIN_STATS_SPARSE_FLOWS, ++ TCA_CAKE_TIN_STATS_BULK_FLOWS, ++ TCA_CAKE_TIN_STATS_UNRESPONSIVE_FLOWS, ++ TCA_CAKE_TIN_STATS_MAX_SKBLEN, ++ TCA_CAKE_TIN_STATS_FLOW_QUANTUM, ++ __TCA_CAKE_TIN_STATS_MAX ++}; ++#define TCA_CAKE_TIN_STATS_MAX (__TCA_CAKE_TIN_STATS_MAX - 1) +#define TC_CAKE_MAX_TINS (8) -+struct tc_cake_tin_stats { -+ -+ __u32 threshold_rate; -+ __u32 target_us; -+ struct tc_cake_traffic_stats sent; -+ struct tc_cake_traffic_stats dropped; -+ struct tc_cake_traffic_stats ecn_marked; -+ struct tc_cake_traffic_stats backlog; -+ __u32 interval_us; -+ __u32 way_indirect_hits; -+ __u32 way_misses; -+ __u32 way_collisions; -+ __u32 peak_delay_us; /* ~= bulk flow delay */ -+ __u32 avge_delay_us; -+ __u32 base_delay_us; /* ~= sparse flows delay */ -+ __u16 sparse_flows; -+ __u16 bulk_flows; -+ __u16 unresponse_flows; -+ __u16 spare; -+ __u32 max_skblen; -+ struct tc_cake_traffic_stats ack_drops; ++ ++enum { ++ CAKE_FLOW_NONE = 0, ++ CAKE_FLOW_SRC_IP, ++ CAKE_FLOW_DST_IP, ++ CAKE_FLOW_HOSTS,/* = CAKE_FLOW_SRC_IP | CAKE_FLOW_DST_IP */ ++ CAKE_FLOW_FLOWS, ++ CAKE_FLOW_DUAL_SRC, /* = CAKE_FLOW_SRC_IP | CAKE_FLOW_FLOWS */ ++ CAKE_FLOW_DUAL_DST, /* = CAKE_FLOW_DST_IP | CAKE_FLOW_FLOWS */ ++ CAKE_FLOW_TRIPLE, /* = CAKE_FLOW_HOSTS | CAKE_FLOW_FLOWS */ ++ CAKE_FLOW_MAX, +}; + -+struct tc_cake_xstats { -+
[LEDE-DEV] [PATCH 0/2] bump cake support in iproute2 & kmod
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Bearing fruits of attempting to get cake upstream, a few changes most importantly to the netlink messaging for cake such that it's no longer backwards compatible, hence bumping iproute2's tc cake support and the cake module itself at the same time. Kevin Darbyshire-Bryant (2): iproute2: import latest cake cake: bump to 20180504 bake package/kernel/kmod-sched-cake/Makefile| 7 +- package/network/utils/iproute2/Makefile| 2 +- .../iproute2/patches/950-add-cake-to-tc.patch | 869 ++--- 3 files changed, 429 insertions(+), 449 deletions(-) -- 2.15.1 (Apple Git-101) --- End Message --- ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
[LEDE-DEV] [PATCH] iproute2: backport json_print-fix-hidden-64-bit-type-promotion
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- print_uint() will silently promote its variable type to uint64_t, but there is nothing that ensures that the format string specifier passed along with it fits (and the function name suggest to pass "%u"). Fix this by changing print_uint() to use a native 'unsigned int' type, and introduce a separate print_u64() function for printing 64-bit values. All call sites that were actually printing 64-bit values using print_uint() are converted to use print_u64() instead. Since print_int() was already using native int types, just add a print_s64() to match, but don't convert any call sites. Fixes wonkyness in some stats from some qdiscs under tc Signed-off-by: Kevin Darbyshire-Bryant--- package/network/utils/iproute2/Makefile| 2 +- ...on_print-fix-hidden-64-bit-type-promotion.patch | 288 + 2 files changed, 289 insertions(+), 1 deletion(-) create mode 100644 package/network/utils/iproute2/patches/002-json_print-fix-hidden-64-bit-type-promotion.patch diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 8c5e22f289..f5a9db321d 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iproute2 PKG_VERSION:=4.16.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2 diff --git a/package/network/utils/iproute2/patches/002-json_print-fix-hidden-64-bit-type-promotion.patch b/package/network/utils/iproute2/patches/002-json_print-fix-hidden-64-bit-type-promotion.patch new file mode 100644 index 00..ad93973215 --- /dev/null +++ b/package/network/utils/iproute2/patches/002-json_print-fix-hidden-64-bit-type-promotion.patch @@ -0,0 +1,288 @@ +From 8de9593bb9dc05cb1be593a237682e8707e41aa9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= +Date: Wed, 25 Apr 2018 16:19:35 +0200 +Subject: [PATCH] json_print: Fix hidden 64-bit type promotion +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +print_uint() will silently promote its variable type to uint64_t, but there +is nothing that ensures that the format string specifier passed along with +it fits (and the function name suggest to pass "%u"). + +Fix this by changing print_uint() to use a native 'unsigned int' type, and +introduce a separate print_u64() function for printing 64-bit values. All +call sites that were actually printing 64-bit values using print_uint() are +converted to use print_u64() instead. + +Since print_int() was already using native int types, just add a +print_s64() to match, but don't convert any call sites. + +Signed-off-by: Toke Høiland-Jørgensen +Signed-off-by: Kevin Darbyshire-Bryant +--- + include/json_print.h | 4 +++- + include/json_writer.h | 12 ++ + ip/ipaddress.c| 62 +-- + ip/ipmacsec.c | 8 +++ + ip/ipmroute.c | 6 ++--- + lib/json_print.c | 4 +++- + lib/json_writer.c | 30 + + 7 files changed, 78 insertions(+), 48 deletions(-) + +--- a/include/json_print.h b/include/json_print.h +@@ -56,10 +56,12 @@ void close_json_array(enum output_type t + print_color_##type_name(t, COLOR_NONE, key, fmt, value); \ + } + _PRINT_FUNC(int, int); ++_PRINT_FUNC(s64, int64_t); + _PRINT_FUNC(bool, bool); + _PRINT_FUNC(null, const char*); + _PRINT_FUNC(string, const char*); +-_PRINT_FUNC(uint, uint64_t); ++_PRINT_FUNC(uint, unsigned int); ++_PRINT_FUNC(u64, uint64_t); + _PRINT_FUNC(hu, unsigned short); + _PRINT_FUNC(hex, unsigned int); + _PRINT_FUNC(0xhex, unsigned int); +--- a/include/json_writer.h b/include/json_writer.h +@@ -34,9 +34,11 @@ void jsonw_string(json_writer_t *self, c + void jsonw_bool(json_writer_t *self, bool value); + void jsonw_float(json_writer_t *self, double number); + void jsonw_float_fmt(json_writer_t *self, const char *fmt, double num); +-void jsonw_uint(json_writer_t *self, uint64_t number); ++void jsonw_uint(json_writer_t *self, unsigned int number); ++void jsonw_u64(json_writer_t *self, uint64_t number); + void jsonw_hu(json_writer_t *self, unsigned short number); +-void jsonw_int(json_writer_t *self, int64_t number); ++void jsonw_int(json_writer_t *self, int number); ++void jsonw_s64(json_writer_t *self, int64_t number); + void jsonw_null(json_writer_t *self); + void jsonw_lluint(json_writer_t *self, unsigned long long int num); + +@@ -44,9 +46,11 @@ void jsonw_lluint(json_writer_t *self, u
[LEDE-DEV] [PATCH] kernel: bump 4.9 to 4.9.96
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Refresh patches, following required reworking: ar71xx/patches-4.9/930-chipidea-pullup.patch layerscape/patches-4.9/302-dts-support-layercape.patch sunxi/patches-4.9/0052-stmmac-form-4-12.patch Fixes for CVEs: CVE-2018-1108 CVE-2018-1092 Tested on: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant--- include/kernel-version.mk | 4 +- .../patches-4.9/432-spi-rb4xx-spi-driver.patch | 2 +- .../patches-4.9/433-spi-rb4xx-cpld-driver.patch| 2 +- .../patches-4.9/435-spi-vsc7385_driver.patch | 2 +- .../patches-4.9/910-unaligned_access_hacks.patch | 4 +- .../ar71xx/patches-4.9/930-chipidea-pullup.patch | 6 +- target/linux/ath25/patches-4.9/130-watchdog.patch | 2 +- ...-detect-JEDEC-incompatible-w25q128-using-.patch | 2 +- ...-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch | 2 +- ...-the-clocks-early-during-the-boot-process.patch | 4 +- ...oid-suspending-if-we-re-in-gadget-mode-18.patch | 2 +- ...port-rate-change-propagation-on-bcm2835-c.patch | 6 +- ...ow-rate-change-propagation-to-PLLH_AUX-on.patch | 2 +- ...-maybe-uninitialized-warning-in-bcm2835_c.patch | 2 +- ...-Don-t-rate-change-PLLs-on-behalf-of-DSI-.patch | 28 +-- ...m2835-Register-the-DSI0-DSI1-pixel-clocks.patch | 14 +- ...-Add-leaf-clock-measurement-support-disab.patch | 26 +-- ...2835-Mark-used-PLLs-and-dividers-CRITICAL.patch | 2 +- ...186-clk-bcm2835-Add-claim-clocks-property.patch | 14 +- .../brcm47xx/patches-4.9/831-old_gpio_wdt.patch| 2 +- .../050-usb-dwc2-Remove-unnecessary-kfree.patch| 2 +- .../090-net-generalize-napi_complete_done.patch| 4 +- .../linux/generic/hack-4.9/204-module_strip.patch | 4 +- .../linux/generic/hack-4.9/902-debloat_proc.patch | 2 +- ...x-wrong-comment-related-to-link-detection.patch | 4 +- ...tach-mtd-device-named-ubi-or-data-on-boot.patch | 4 +- .../666-Add-support-for-MAP-E-FMRs-mesh-mode.patch | 30 +-- ...jecting-with-source-address-failed-policy.patch | 18 +- ...80-NET-skip-GRO-for-foreign-MAC-addresses.patch | 10 +- .../generic/pending-4.9/701-phy_extension.patch| 2 +- .../pending-4.9/890-uart_optional_sysrq.patch | 2 +- .../generic/pending-4.9/920-mangle_bootargs.patch | 4 +- ...eric-Mangle-bootloader-s-kernel-arguments.patch | 4 +- .../patches-4.9/0026-NET-multi-phy-support.patch | 6 +- ...ssc-add-support-for-Lantiq-SSC-SPI-contro.patch | 2 +- .../202-core-linux-support-layerscape.patch| 2 +- .../patches-4.9/301-arch-support-layerscape.patch | 2 +- .../patches-4.9/302-dts-support-layercape.patch| 8 +- .../401-mtd-spi-nor-support-layerscape.patch | 14 +- .../patches-4.9/703-phy-support-layerscape.patch | 18 +- .../803-cpufreq-support-layerscape.patch | 6 +- .../patches-4.9/812-mmc-layerscape-support.patch | 12 +- .../patches-4.9/813-qe-support-layerscape.patch| 2 +- .../sunxi/patches-4.9/0050-stmmac-form-4-10.patch | 140 ++-- .../sunxi/patches-4.9/0051-stmmac-form-4-11.patch | 56 ++--- .../sunxi/patches-4.9/0052-stmmac-form-4-12.patch | 242 + 46 files changed, 337 insertions(+), 391 deletions(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 3e9ddaa81e..9191bddc7d 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -4,12 +4,12 @@ LINUX_RELEASE?=1 LINUX_VERSION-3.18 = .71 LINUX_VERSION-4.4 = .121 -LINUX_VERSION-4.9 = .91 +LINUX_VERSION-4.9 = .96 LINUX_VERSION-4.14 = .34 LINUX_KERNEL_HASH-3.18.71 = 5abc9778ad44ce02ed6c8ab52ece8a21c6d20d21f6ed8a19287b4a38a50c1240 LINUX_KERNEL_HASH-4.4.121 = 44a88268b5088dc326b30c9b9133ac35a9a200b636b7268d08f32abeae6ca729 -LINUX_KERNEL_HASH-4.9.91 = 60caa752ec9fa1c426f6a2f37db3f268d0961b67a723b6443949112167b39832 +LINUX_KERNEL_HASH-4.9.96 = 826f596eb5197f8b17304649c2990dd7b766f5c79076cae79f4261c40cea877f LINUX_KERNEL_HASH-4.14.34 = 782b6c4c85275c382c820e1934d3e6003ef468f43cfc5e7c22bc07c331a12bb9 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1 diff --git a/target/linux/ar71xx/patches-4.9/432-spi-rb4xx-spi-driver.patch b/target/linux/ar71xx/patches-4.9/432-spi-rb4xx-spi-driver.patch index 5428d3d1c2..e896d0bdf4 100644 --- a/target/linux/ar71xx/patches-4.9/432-spi-rb4xx-spi-driver.patch +++ b/target/linux/ar71xx/patches-4.9/432-spi-rb4xx-spi-driver.patch @@ -1,6 +1,6 @@ --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig -@@ -534,6 +534,12 @@ config SPI_QUP +@@ -533,6 +533,12 @@ config SPI_QUP This driver can also be built as a module. If so, the module will be called spi_qup. diff --git
[LEDE-DEV] [PATCH] iftop: bump to latest
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Choose first running interface, rather than first "up" interface (Redhat #1403025) Signed-off-by: Kevin Darbyshire-Bryant--- package/network/utils/iftop/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/utils/iftop/Makefile b/package/network/utils/iftop/Makefile index 8c5b47444f..ed22eb81b1 100644 --- a/package/network/utils/iftop/Makefile +++ b/package/network/utils/iftop/Makefile @@ -12,9 +12,9 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://code.blinkace.com/pdw/iftop.git -PKG_SOURCE_DATE:=2017-02-06 -PKG_SOURCE_VERSION:=35af3cf65f17961d173b31fd3b00166ec095c226 -PKG_MIRROR_HASH:=84131e2448ea5aa884d2bd7d58dc81741b5c476b4664a8c2c1eb34f62985804a +PKG_SOURCE_DATE:=2017-03-22 +PKG_SOURCE_VERSION:=949ed0f7e2c54c598868c270b82c2d702131a339 +PKG_MIRROR_HASH:=2ba96d9a2adf4e43aaab439a9ccab8f21b415da48d1c8939f6dcea8e6e11524f PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0 -- 2.15.1 (Apple Git-101) --- End Message --- ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
[LEDE-DEV] [PATCH] igmpproxy: bump to 0.2.1
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Point at github which is new, maintained location for igmpproxy. Remove all patches as all have been upstreamed. Closes FS#1456 Signed-off-by: Kevin Darbyshire-Bryant--- This needs a sanity check by nbd. package/network/services/igmpproxy/Makefile| 8 +- ...ackets-with-IP-Router-Alert-option-RFC-21.patch | 79 -- ...ult-interface-state-to-disabled-wrt-29458.patch | 43 -- ...mp-reports-for-downstream-interfaces-wrt-.patch | 164 - ...mp-reports-forwarding-to-upstream-interfa.patch | 62 .../igmpproxy/patches/010-missing_include.patch| 10 -- ...ilence-downstream-interface-igmp-messages.patch | 19 --- ...-use-monotic-clock-instead-of-time-of-day.patch | 120 --- .../patches/200-allow_wildcard_addr.patch | 24 --- .../250-fix_multiple_downlink_interfaces.patch | 154 --- 10 files changed, 4 insertions(+), 679 deletions(-) delete mode 100644 package/network/services/igmpproxy/patches/001-Send-IGMP-packets-with-IP-Router-Alert-option-RFC-21.patch delete mode 100644 package/network/services/igmpproxy/patches/002-Change-default-interface-state-to-disabled-wrt-29458.patch delete mode 100644 package/network/services/igmpproxy/patches/003-Restrict-igmp-reports-for-downstream-interfaces-wrt-.patch delete mode 100644 package/network/services/igmpproxy/patches/004-Restrict-igmp-reports-forwarding-to-upstream-interfa.patch delete mode 100644 package/network/services/igmpproxy/patches/010-missing_include.patch delete mode 100644 package/network/services/igmpproxy/patches/020-Silence-downstream-interface-igmp-messages.patch delete mode 100644 package/network/services/igmpproxy/patches/100-use-monotic-clock-instead-of-time-of-day.patch delete mode 100644 package/network/services/igmpproxy/patches/200-allow_wildcard_addr.patch delete mode 100644 package/network/services/igmpproxy/patches/250-fix_multiple_downlink_interfaces.patch diff --git a/package/network/services/igmpproxy/Makefile b/package/network/services/igmpproxy/Makefile index e335b72d6a..b98f3e5947 100644 --- a/package/network/services/igmpproxy/Makefile +++ b/package/network/services/igmpproxy/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=igmpproxy -PKG_VERSION:=0.1 -PKG_RELEASE:=11 +PKG_VERSION:=0.2.1 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=@SF/igmpproxy -PKG_HASH:=ee18ff3d8c3ae3a29dccb7e5eedf332337330020168bd95a11cece8d7d7ee6ae +PKG_SOURCE_URL:=https://github.com/pali/igmpproxy/releases/download/${PKG_VERSION}/ +PKG_HASH:=d351e623037390f575c1203d9cbb7ba33a8bdef85a3c5e1d2901c5a2a38449a1 PKG_MAINTAINER:=Felix Fietkau include $(INCLUDE_DIR)/package.mk diff --git a/package/network/services/igmpproxy/patches/001-Send-IGMP-packets-with-IP-Router-Alert-option-RFC-21.patch b/package/network/services/igmpproxy/patches/001-Send-IGMP-packets-with-IP-Router-Alert-option-RFC-21.patch deleted file mode 100644 index ffe1cf15eb..00 --- a/package/network/services/igmpproxy/patches/001-Send-IGMP-packets-with-IP-Router-Alert-option-RFC-21.patch +++ /dev/null @@ -1,79 +0,0 @@ -From fed8c3db10bc9d3a1e799a774924c00522595d0c Mon Sep 17 00:00:00 2001 -From: Evgeny Yurchenko -Date: Mon, 4 Jan 2010 05:13:59 +0500 -Subject: [PATCH] Send IGMP packets with IP Router Alert option [RFC 2113] included in IP header - - src/igmp.c | 17 - - src/igmpproxy.h |1 + - 2 files changed, 13 insertions(+), 5 deletions(-) - -diff --git a/src/igmp.c b/src/igmp.c -index a0cd27d..b547688 100644 a/src/igmp.c -+++ b/src/igmp.c -@@ -67,7 +67,7 @@ void initIgmp() { - * - Checksum (let the kernel fill it in) - */ - ip->ip_v = IPVERSION; --ip->ip_hl = sizeof(struct ip) >> 2; -+ip->ip_hl = (sizeof(struct ip) + 4) >> 2; /* +4 for Router Alert option */ - ip->ip_tos = 0xc0; /* Internet Control */ - ip->ip_ttl = MAXTTL;/* applies to unicasts only */ - ip->ip_p = IPPROTO_IGMP; -@@ -213,7 +213,7 @@ void buildIgmp(uint32_t src, uint32_t dst, int type, int code, uint32_t group, i - ip = (struct ip *)send_buf; - ip->ip_src.s_addr = src; - ip->ip_dst.s_addr = dst; --ip_set_len(ip, MIN_IP_HEADER_LEN + IGMP_MINLEN + datalen); -+ip_set_len(ip, IP_HEADER_RAOPT_LEN + IGMP_MINLEN + datalen); - - if (IN_MULTICAST(ntohl(dst))) { - ip->ip_ttl = curttl; -@@ -221,13 +221,20 @@ void buildIgmp(uint32_t src, uint32_t dst, int type, int code, uint32_t group, i - ip->ip_ttl = MAXTTL; - } - --igmp= (struct igmp
[LEDE-DEV] [PATCH] wireguard: bump to 20180420
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- 7cc2668 version: bump snapshot 860c7c7 poly1305: do not place constants in different sections 5f1e4ca compat: remove unused dev_recursion_level backport 7e4b991 blake2s: remove unused helper 13225fc send: simplify skb_padding with nice macro a1525bf send: account for route-based MTU bbb2fde wg-quick: account for specified fwmark in auto routing mode c452105 qemu: bump default version dbe5223 version: bump snapshot 1d3ef31 chacha20poly1305: put magic constant behind macro cdc164c chacha20poly1305: add self tests from wycheproof 1060e54 curve25519: add self tests from wycheproof 0e1e127 wg-quick.8: fix typo 2b06b8e curve25519: precomp const correctness 8102664 curve25519: memzero in batches 1f54c43 curve25519: use cmov instead of xor for cswap fa5326f curve25519: use precomp implementation instead of sandy2x 9b19328 compat: support OpenSUSE 15 3102d28 compat: silence warning on frankenkernels 8f64c61 compat: stable kernels are now receiving b87b619 62127f9 wg-quick: hide errors on save Signed-off-by: Kevin Darbyshire-Bryant--- package/network/services/wireguard/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index ba9fafa87f..9ed24ecaa3 100644 --- a/package/network/services/wireguard/Makefile +++ b/package/network/services/wireguard/Makefile @@ -11,12 +11,12 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=wireguard -PKG_VERSION:=0.0.20180304 +PKG_VERSION:=0.0.20180420 PKG_RELEASE:=1 PKG_SOURCE:=WireGuard-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://git.zx2c4.com/WireGuard/snapshot/ -PKG_HASH:=efb1652f0da67fb2731040439b6abb820a5e2f1bc177aa15c5dce68ea3327787 +PKG_HASH:=b58cd2acf9e8d3fe9044c06c0056bd74da1f5673a456f011d36eee3f6fb1da16 PKG_LICENSE:=GPL-2.0 Apache-2.0 PKG_LICENSE_FILES:=COPYING -- 2.15.1 (Apple Git-101) --- End Message --- ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
[LEDE-DEV] [PATCH] Revert "iproute2: fix hidden uint to uin64_t promotion in json_print"
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- This reverts commit 745d0e7f4b6e8659cc967291acd33889035127f0. It looks like upstream don't want the patch so let's revert it here too. I hope a fix from upstream is forthcoming. Signed-off-by: Kevin Darbyshire-Bryant--- package/network/utils/iproute2/Makefile| 2 +- ...x-hidden-uint-to-uin64_t-promottion-in-js.patch | 65 -- 2 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 package/network/utils/iproute2/patches/910-iproute2-fix-hidden-uint-to-uin64_t-promottion-in-js.patch diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index d8ff5e590d..ef4befaeda 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iproute2 PKG_VERSION:=4.15.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2 diff --git a/package/network/utils/iproute2/patches/910-iproute2-fix-hidden-uint-to-uin64_t-promottion-in-js.patch b/package/network/utils/iproute2/patches/910-iproute2-fix-hidden-uint-to-uin64_t-promottion-in-js.patch deleted file mode 100644 index a549770045..00 --- a/package/network/utils/iproute2/patches/910-iproute2-fix-hidden-uint-to-uin64_t-promottion-in-js.patch +++ /dev/null @@ -1,65 +0,0 @@ -From e1c6b35f9f978f6919e8bf651de67b30dc145543 Mon Sep 17 00:00:00 2001 -From: Kevin Darbyshire-Bryant -Date: Sun, 18 Mar 2018 08:51:08 + -Subject: [PATCH] iproute2: fix hidden uint to uin64_t promotion in json_print - -print_int used 'int' type internally, whereas print_uint used 'uint64_t' - -These helper functions eventually call vfprintf(fp, fmt, args) which is -a variable argument list function and is dependent upon 'fmt' containing -correct information about the length of the passed arguments. - -Unfortunately print_int v print_uint offered no clue to the programmer -that internally passed ints to print_uint were being promoted to 64bits, -thus the format passed in 'fmt' string vs the actual passed integer -could be different lengths. This is even more interesting on big endian -architectures where 'vfprintf' would be looking in the middle of an -int64 type. Symptoms of this included tc qdisc showing bizarre values -for a variety of fields across a variety of qdiscs (e.g. refcnt, flows, -quantum) - -print_u/int now stick with native int size. - -A similar patch has been sent upstream. - -Fixes FS#1425 - -Signed-off-by: Kevin Darbyshire-Bryant - include/json_print.h | 2 +- - lib/json_print.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/json_print.h b/include/json_print.h -index dc4d2bb3..350d35cb 100644 a/include/json_print.h -+++ b/include/json_print.h -@@ -56,10 +56,10 @@ void close_json_array(enum output_type type, const char *delim); - print_color_##type_name(t, COLOR_NONE, key, fmt, value); \ - } - _PRINT_FUNC(int, int); -+_PRINT_FUNC(uint, unsigned int); - _PRINT_FUNC(bool, bool); - _PRINT_FUNC(null, const char*); - _PRINT_FUNC(string, const char*); --_PRINT_FUNC(uint, uint64_t); - _PRINT_FUNC(hu, unsigned short); - _PRINT_FUNC(hex, unsigned int); - _PRINT_FUNC(0xhex, unsigned int); -diff --git a/lib/json_print.c b/lib/json_print.c -index aa527af6..ae3a317d 100644 a/lib/json_print.c -+++ b/lib/json_print.c -@@ -117,8 +117,8 @@ void close_json_array(enum output_type type, const char *str) - } \ - } - _PRINT_FUNC(int, int); -+_PRINT_FUNC(uint, unsigned int); - _PRINT_FUNC(hu, unsigned short); --_PRINT_FUNC(uint, uint64_t); - _PRINT_FUNC(lluint, unsigned long long int); - #undef _PRINT_FUNC - --- -2.14.3 (Apple Git-98) - -- 2.15.1 (Apple Git-101) --- End Message --- ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev