Re: [PATCH v2 3/5] mvebu: update the Turris Omnia device tree

2021-02-21 Thread Hauke Mehrtens
On 2/21/21 12:06 PM, Tomasz Maciej Nowak wrote: W dniu 20.02.2021 o 21:26, Rui Salvaterra pisze: Hi, Tomasz, On Sat, 20 Feb 2021 at 16:55, Tomasz Maciej Nowak wrote: W dniu 20.02.2021 o 12:53, Rui Salvaterra pisze: Include support for the multicolor LEDs (software controlled, for now) and

Re: [PATCH v2 2/5] mvebu: refresh 5.10 patches

2021-02-21 Thread Hauke Mehrtens
On 2/20/21 5:55 PM, Tomasz Maciej Nowak wrote: W dniu 20.02.2021 o 12:53, Rui Salvaterra pisze: Also delete already upstreamed patches/changes. Signed-off-by: Rui Salvaterra --- ...t-for-endpoint-to-be-ready-before-tr.patch | 50 --- ...-t-rely-on-jiffies-while-holding-spi.patch | 54 ---

Re: uboot-envtools build error in openwrt-21.02.

2021-02-18 Thread Hauke Mehrtens
On 2/18/21 10:40 PM, Etan Kissling wrote: When building openwrt-21.02 I encountered errors in uboot-envtools. The problem appears since a recent u-boot update. https://github.com/u-boot/u-boot/commit/587e4a4296982f85b2a40fc8a704db65079e0aac Etan Hi, I do not see an build problem in the build

[PATCH] mac80211: Update to version 5.10.16-1

2021-02-14 Thread Hauke Mehrtens
The removed patches were applied upstream. Signed-off-by: Hauke Mehrtens --- The refreshed patches are looking strange, it reverts many changes from this commit: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=ed1e234d87fc2fc1561b02dcc2f67a464721fc6f I refreshed the patches like

Re: Upcoming 19.07.7 release

2021-02-14 Thread Hauke Mehrtens
On 2/5/21 1:57 PM, Adrian Schmutzler wrote: HI, -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Baptiste Jonglez Sent: Freitag, 5. Februar 2021 08:57 To: openwrt-devel@lists.openwrt.org Subject: Upcoming 19.07.7 release Hi, We are

Re: [PATCHv3 2/3] busybox: update to 1.33

2021-02-14 Thread Hauke Mehrtens
On 2/4/21 5:02 PM, Hannu Nyman wrote: Hauke Mehrtens kirjoitti 4.2.2021 klo 1.55: On 2/1/21 1:15 AM, Rosen Penev wrote: Remove stime backport. Remove static libgcc patch as upstream fixed it with BUSYBOX_DEFAULT_STATIC_LIBGCC which defauls to off. Remove date -k patch as it no longer applies

MT7612EN problems with DFS

2021-02-12 Thread Hauke Mehrtens
Hi Felix, DFS on the Xiaomi Mi WiFi R3G (MT7612EN) stops working after about 1 day for me with current OpenWrt master (r15718). I think it worked well with OpenWrt from beginning of December with mac80211 5.10. I see this in the log: Wed Feb 10 16:54:29 2021 daemon.notice

OpenWrt 21.02 planning

2021-02-11 Thread Hauke Mehrtens
Hi, We just had our developer meeting and want to do branch the next release soon. I just want to coordinate the release planning here, the full meeting notes will be published later. We want to merge the mac80211 update to version 5.10 found here:

[PATCH] wolfssl: Backport fix for CVE-2021-3336

2021-02-08 Thread Hauke Mehrtens
development branch. Signed-off-by: Hauke Mehrtens --- package/libs/wolfssl/Makefile | 2 +- .../wolfssl/patches/010-CVE-2021-3336.patch | 53 +++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 package/libs/wolfssl/patches/010-CVE-2021-3336

Re: [PATCHv3 2/3] busybox: update to 1.33

2021-02-03 Thread Hauke Mehrtens
On 2/1/21 1:15 AM, Rosen Penev wrote: Remove stime backport. Remove static libgcc patch as upstream fixed it with BUSYBOX_DEFAULT_STATIC_LIBGCC which defauls to off. Remove date -k patch as it no longer applies. It's also pointless as busybox' hwclock utility can do the same thing. Remove

[PATCH] ppp: Update to version 2.4.9

2021-02-03 Thread Hauke Mehrtens
. Signed-off-by: Hauke Mehrtens --- package/network/services/ppp/Makefile | 10 +- package/network/services/ppp/files/ppp.sh | 4 +- .../010-use_target_for_configure.patch| 22 +- .../ppp/patches/100-debian_ip-ip_option.patch | 96 -- .../patches/101

[PATCH] dnsmasq: Update to final version 2.84

2021-02-03 Thread Hauke Mehrtens
Only small changes compared to the 2.84test3 version. Signed-off-by: Hauke Mehrtens --- package/network/services/dnsmasq/Makefile | 6 +++--- .../patches/100-remove-old-runtime-kernel-support.patch | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCHv3 1/3] base-files: use hwclock --systz

2021-01-31 Thread Hauke Mehrtens
Hi Rosen, Are you planning to send a new version soon? Hauke ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[PATCH 2/2] uboot-envtools: Update to version 2021.01

2021-01-31 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/boot/uboot-envtools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index 5014b71ef67e..a9eccec0cec9 100644 --- a/package/boot/uboot-envtools

[PATCH 1/2] tools: mkimage: Update U-Boot to version 2021.01

2021-01-31 Thread Hauke Mehrtens
of malloc.h * ALIGN_MASK was moved to imagetool.h, own patch should not be needed any more. Signed-off-by: Hauke Mehrtens --- Could someone test this on MacOS please. tools/mkimage/Makefile| 6 +++-- .../patches/020-fix-file-creation-perms.patch | 11 .../030

OpenWrt add dependency to swig for U-Boot builds

2021-01-31 Thread Hauke Mehrtens
The U-Boot build for more and more SoCs is using binman by default to combine the images (SPL, U-Boot, ...). Binman is build from the U-Boot project and it needs swig to build. We have multiple patches in OpenWrt to remove this dependency from U-Boot, but it costs more and more time to revert

Re: [PATCH] util-linux: fix bad pkgconf variable

2021-01-27 Thread Hauke Mehrtens
On 1/20/21 1:16 AM, Rosen Penev wrote: Because of the lib prefix, it's not getting substituted properly and breaks compilation of other packages. Fixes error with at least btrfs-progs: Package '@LIBSELINUX@', required by 'mount', not found Package '@LIBCRYPTSETUP@', required by 'mount', not

Re: [PATCH v3 0/6] add ubus support to ltq-[v|a]dsl-app

2021-01-26 Thread Hauke Mehrtens
On 1/26/21 9:00 AM, Andre Heider wrote: v3: - copy dsl_cpe_ubus.c from ltq-adsl-app to ltq-vdsl-app instead of using a symlink - squash PKG_RELEASE patches - move feed patches to PRs: https://github.com/openwrt/packages/pull/14572 https://github.com/openwrt/luci/pull/4749 v2: - drop

Re: [PATCH v2 0/12] add ubus support to ltq-[v|a]dsl-app

2021-01-25 Thread Hauke Mehrtens
On 12/15/20 10:35 AM, Andre Heider wrote: v2: - drop 0002-ltq-vdsl-app-fix-Wundef-warnings.patch - use "/dev/dsl_cpe_api" without the "0" suffix for the adsl daemon: package/kernel/lantiq/ltq-adsl/patches/100-dsl_compat.patch:+ device_create(dsl_class, NULL,

Re: [PATCH 10/12] ltq-dsl-base: bump PKG_RELEASE

2021-01-25 Thread Hauke Mehrtens
On 12/15/20 10:35 AM, Andre Heider wrote: Signed-off-by: Andre Heider Tested-by: Martin Schiller --- package/network/utils/ltq-dsl-base/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/utils/ltq-dsl-base/Makefile

Re: [PATCH 03/12] ltq-adsl-app: add ubus support to get metrics

2021-01-25 Thread Hauke Mehrtens
On 12/15/20 10:35 AM, Andre Heider wrote: As with ltq-vdsl-app, see previous commit. Signed-off-by: Andre Heider --- package/network/config/ltq-adsl-app/Makefile | 2 +- .../ltq-adsl-app/patches/300-ubus.patch | 50 +++ package/network/config/ltq-adsl-app/src

[PATCH 19.07] dnsmasq: backport fixes

2021-01-24 Thread Hauke Mehrtens
This should fix some error messages shown in the log like this one: dnsmasq[5246]: failed to send packet: Network unreachable Fixes: e87c0d934c54 ("dnsmasq: Update to version 2.83") Signed-off-by: Hauke Mehrtens --- package/network/services/dnsmasq/Makefile | 2 +- ...c

[PATCH] dnsmasq: backport fixes

2021-01-24 Thread Hauke Mehrtens
This should fix some error messages shown in the log like this one: dnsmasq[5246]: failed to send packet: Network unreachable Fixes: e87c0d934c54 ("dnsmasq: Update to version 2.83") Signed-off-by: Hauke Mehrtens --- package/network/services/dnsmasq/Makefile | 2 +- ...c

Re: Job board support on openwrt.org?

2021-01-23 Thread Hauke Mehrtens
a mail to the people who contributed there if they would do contract work for you. This is not really management or HR compatible, but if you have an engineer in your organization they can help you with that. Hauke On Sat, Jan 23, 2021, 17:27 Hauke Mehrtens <mailto:ha...@hauke-m.de>&

Re: Job board support on openwrt.org?

2021-01-23 Thread Hauke Mehrtens
On 1/23/21 2:24 PM, Jo-Philipp Wich wrote: Hi, I don't think this is a good idea due to legal obligations, administrative hassle, quality of work issues and so on. NACK from me. I agree with Jo. NACK from me too. Such a page will also be seen as some sort of endorsement and people could

OpenWrt 19.07.6 service release

2021-01-19 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the sixth service release of OpenWrt 19.07. It focuses on fixing several security issues. Main changes from OpenWrt 19.07.5 Security fixes * Security Advisory 2021-01-19-1 - dnsmasq multiple vulnerabilities (CVE-2020-25681, CVE-2020-25682,

[RFC PATCH 1/2] Workaround recursive error

2021-01-17 Thread Hauke Mehrtens
It looks like there is a bug in our configuration system when we add the additional dependencies in PKG_DEFAULT_DEPENDS we get these recursive errors: tmp/.config-package.in:19514:error: recursive dependency detected! tmp/.config-package.in:19514: symbol

[RFC PATCH 0/2] toolchain: build all user space with sanitizer on glibc

2021-01-17 Thread Hauke Mehrtens
* Make it depend on GCC 10 or wait till GCC 10 is the default. Hauke Mehrtens (2): Workaround recursive error toolchain: Allow building with ASAN and UBSAN config/Config-build.in | 22 ++ include/hardening.mk | 14

[RFC PATCH 2/2] toolchain: Allow building with ASAN and UBSAN

2021-01-17 Thread Hauke Mehrtens
it was started and ASAN needs it already earlier and fails in the versions provided by older compilers. Signed-off-by: Hauke Mehrtens --- config/Config-build.in | 22 ++ include/hardening.mk | 14 ++ include/package-defaults.mk

Re: [PATCH 1/3] busybox: update to 1.33

2021-01-03 Thread Hauke Mehrtens
On 1/4/21 1:24 AM, Rosen Penev wrote: Remove stime backport. Remove static libgcc patch as upstream fixed it in a different way. Remove date -k patch as it no longer applies. It's also pointless as busybox' hwclock utility can do the same thing. That will be changed in a future commit. Remove

[PATCH] ppp: Remove already applied patch

2021-01-01 Thread Hauke Mehrtens
This patch was already applied upstream and not needed here. Fixes: 06403981e1f2 ("ppp: update to version 2.4.7.git-2019-05-06") Signed-off-by: Hauke Mehrtens --- package/network/services/ppp/Makefile | 2 +- .../ppp/patches/540-save-pppol2tp_fd_str.patch

Re: [PATCH uhttpd 2/3] listen: Copy only parts of ai_addr

2021-01-01 Thread Hauke Mehrtens
On 1/1/21 11:22 AM, Oldřich Jedlička wrote: pá 1. 1. 2021 v 11:02 odesílatel Oldřich Jedlička napsal: Hi, pá 1. 1. 2021 v 2:20 odesílatel Hauke Mehrtens napsal: ai_addr has different sizes for IPv4 and IPv6. Only copy the parts which are actually used and not the full array, to not copy

[PATCH uhttpd 3/3] main: free port string after strdup()

2020-12-31 Thread Hauke Mehrtens
This fixes a memory leak. Signed-off-by: Hauke Mehrtens --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 73e3d42..bca69cf 100644 --- a/main.c +++ b/main.c @@ -298,6 +298,7 @@ int main(int argc, char **argv) case 'p

[PATCH uhttpd 2/3] listen: Copy only parts of ai_addr

2020-12-31 Thread Hauke Mehrtens
ai_addr has different sizes for IPv4 and IPv6. Only copy the parts which are actually used and not the full array, to not copy and uninitialized memory. This fixes a warning found with the address sanitizer. Signed-off-by: Hauke Mehrtens --- listen.c | 15 ++- 1 file changed, 10

[PATCH uhttpd 1/3] cmake: Use variables

2020-12-31 Thread Hauke Mehrtens
This makes it easier to build this outside of OpenWrt. Signed-off-by: Hauke Mehrtens --- CMakeLists.txt | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ae8ba4..61a3315 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,9

Re: Persistent HTTP(S) connections in opkg

2020-12-31 Thread Hauke Mehrtens
On 12/31/20 8:40 PM, Hauke Mehrtens wrote: On 12/30/20 7:14 PM, Baptiste Jonglez wrote: Following the discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2020-November/032297.html There are basically two options to implement persistent connections in opkg: 1) keep calling

Re: [PATCH] kernel-build: fix STRIP_KERNEL_EXPORTS for 64-bit kernels

2020-12-31 Thread Hauke Mehrtens
On 12/31/20 8:38 PM, Rui Salvaterra wrote: Hi again, On Thu, 31 Dec 2020 at 19:30, Rui Salvaterra wrote: On Thu, 31 Dec 2020 at 19:07, Hauke Mehrtens wrote: Result with your change: hauke@hauke-t480:~/openwrt/openwrt$ ./staging_dir/toolchain-arm_cortex-a7+neon

Re: Persistent HTTP(S) connections in opkg

2020-12-31 Thread Hauke Mehrtens
On 12/30/20 7:14 PM, Baptiste Jonglez wrote: Following the discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2020-November/032297.html There are basically two options to implement persistent connections in opkg: 1) keep calling "wget", but pass the list of all packages to

Re: [PATCH] kernel-build: fix STRIP_KERNEL_EXPORTS for 64-bit kernels

2020-12-31 Thread Hauke Mehrtens
On 12/30/20 9:04 PM, Rui Salvaterra wrote: While parsing the nm output, we need to account for the fact that 64-bit kernels have 64-bit wide addresses. While at it, replace the grep | sed combo with a single awk invocation and a stronger regex. Fixes: 2ef0acc5fcda557fa5aaad35d27cb8cf75be96d2

Re: New ath10k-ct driver available

2020-12-28 Thread Hauke Mehrtens
On 12/24/20 10:28 PM, Ben Greear wrote: I just pushed this commit.  I'm interested in feedback if anyone tests it.  It could fix some of the strange tx issues, and for the 5.10 kernel, at least, it fixes very obvious tx-path issues. commit b753e8bf22b94297acbaa370b4cb0be87e3da4b8 (HEAD ->

Re: [PATCH] pkgconf: disable building shared libraries

2020-12-28 Thread Hauke Mehrtens
On 12/25/20 2:01 AM, Rosen Penev wrote: pkgconf uses libpkgconf. disabling shared libraries makes it be linked statically. Helps to avoid issues regarding finding the library with a wrong rpath. Nothing uses libpkgconf anyway. Signed-off-by: Rosen Penev Should this fix the build problem with

Re: [PATCH] kernel: add module for tcp-hybla congestion control algorithm

2020-12-23 Thread Hauke Mehrtens
On 12/23/20 2:56 PM, Henrique de Moraes Holschuh wrote: On 23/12/2020 09:08, Hauke Mehrtens wrote: On 12/23/20 8:36 AM, Yousong Zhou wrote: Just the module and no default sysctl conf file is provided Ref: https://forum.openwrt.org/t/20-xx-tcp-hybla/83076 Signed-off-by: Yousong Zhou

arc700 + glibc fails

2020-12-23 Thread Hauke Mehrtens
Hi, ARC was switched from uClibc to glibc here: https://git.openwrt.org/95f1002acab574c24ad78f4453f091bf5a6731c7 uClibc support was removed from OpenWrt in the next commit. It looks like arc700 is not supported by glibc 2.32, only ARC HS38 is supported. On the arc770 target I am getting this

Re: [PATCH] kernel: add module for tcp-hybla congestion control algorithm

2020-12-23 Thread Hauke Mehrtens
On 12/23/20 8:36 AM, Yousong Zhou wrote: Just the module and no default sysctl conf file is provided Ref: https://forum.openwrt.org/t/20-xx-tcp-hybla/83076 Signed-off-by: Yousong Zhou --- package/kernel/linux/modules/netsupport.mk | 20 1 file changed, 20 insertions(+)

[PATCH] toolchain: Deactivate sanitizer on MIPS and ARC

2020-12-17 Thread Hauke Mehrtens
MIPS 32 bit support for sanitizer was added with GCC 9, MIPS 64 bit and ARC is still not supported in GCC 10. Deactivate them for now and change this when we change the default compiler to GCC 9 or later. Signed-off-by: Hauke Mehrtens --- package/libs/toolchain/Makefile | 8 1 file

[PATCH] mt76: Fix compile against glibc

2020-12-17 Thread Hauke Mehrtens
The mt76 test tools did not compile against glibc. Signed-off-by: Hauke Mehrtens --- ...et-mode-for-new-file-tmp-mt76-test-s.patch | 25 +++ 1 file changed, 25 insertions(+) create mode 100644 package/kernel/mt76/patches/100-tools-Set-mode-for-new-file-tmp-mt76-test-s.patch

[PATCH] lantiq: falcon: mark as source only sub target

2020-12-16 Thread Hauke Mehrtens
The sub target does not support network and there are not so many users out there, just mark it as source only, so we do jot have to build it. The quality is not worse than before, it just does not make much sense to build this automatically. Signed-off-by: Hauke Mehrtens --- target/linux

[PATCH] wireless-regdb: Update to version 2020.11.20

2020-12-16 Thread Hauke Mehrtens
egdb: update 5.8 GHz regulatory rule for GB c19aad0 wireless-regdb: Update regulatory rules for Kazakhstan (KZ) 07057d3 wireless-regdb: update regulatory database based on preceding changes Signed-off-by: Hauke Mehrtens --- package/firmware/wireless-regdb/Makefile | 4 ++-- 1 file changed, 2 insert

Re: [RFC] raise gcc/make versions for 20.x

2020-12-16 Thread Hauke Mehrtens
On 12/16/20 4:03 AM, Rosen Penev wrote: On Tue, Dec 15, 2020 at 6:31 PM Paul Spooren wrote: Hi, I've seen two patches for version raises of build requirements and would like to know if we should merge them before or after 20.x. make: 3.81.x -> 4.1.x gcc: 4.8 -> 6.x The issue is with EL7.

Re: [PATCH] toolchain: gcc: Remove support for GCC 5

2020-12-16 Thread Hauke Mehrtens
On 12/16/20 4:00 AM, Rosen Penev wrote: On Tue, Dec 15, 2020 at 5:14 PM Hauke Mehrtens wrote: On 12/16/20 1:21 AM, Paul Spooren wrote: On Mi, Dez 16, 2020 at 00:24, Hauke Mehrtens wrote: GCC was used in 17.01 as the default compiler the last time. We do not test this old GCC version any

[PATCH] build: Add IRQSOFF and PREEMPT TRACER kernel config option

2020-12-15 Thread Hauke Mehrtens
From: Hauke Mehrtens This adds the CONFIG_IRQSOFF_TRACER and the CONFIG_PREEMPT_TRACER kernel configuration option to the OpenWrt menu. This can be used to debug latencies in the system. The CONFIG_PREEMPT_TRACER option needs the CONFIG_PREEMPT option which is supposed to be used for Low-Latency

Re: [PATCH] toolchain: gcc: Remove support for GCC 5

2020-12-15 Thread Hauke Mehrtens
On 12/16/20 1:21 AM, Paul Spooren wrote: On Mi, Dez 16, 2020 at 00:24, Hauke Mehrtens wrote: GCC was used in 17.01 as the default compiler the last time. We do not test this old GCC version any more and there are some known problems it fails to compile the U-Boot for the Allwinner A64 SoC

[PATCH] toolchain: gcc: Remove support for GCC 5

2020-12-15 Thread Hauke Mehrtens
-by: Hauke Mehrtens --- toolchain/gcc/Config.in |4 - toolchain/gcc/Config.version |5 - toolchain/gcc/common.mk |4 - .../001-revert_register_mode_search.patch | 65 - .../patches/5.5.0/002-case_insensitive.patch

[PATCH] e2fsprogs: Add TARGET_LDFLAGS to e4crypt

2020-12-15 Thread Hauke Mehrtens
The TARGET_LDFLAGS were dropped in the linking of e4crypt. Signed-off-by: Hauke Mehrtens --- ...build-Add-SYSLIBS-to-e4crypt-linking.patch | 28 +++ 1 file changed, 28 insertions(+) create mode 100644 package/utils/e2fsprogs/patches/003-build-Add-SYSLIBS-to-e4crypt

Re: [RFC PATCH 0/4] mac80211: Update to version 5.10-rc6

2020-12-14 Thread Hauke Mehrtens
On 12/1/20 11:19 PM, Hauke Mehrtens wrote: This updates mac80211 to backports version 5.10-rc6. This is currently only the test version, I will release official versions of backports in the next days and then update these patches. Kernel 5.10 should be an LTS kernel so we will get updates

Re: [PATCH] build/prereq: requie make 4.1 or later

2020-12-13 Thread Hauke Mehrtens
On 12/13/20 8:17 AM, Paul Spooren wrote: FS#2086 "IS_TTY in the makefile is broken" reports flawed detection of stdout piping to a file. The issue describes how e.g. terminal color codes and up in log files if running make like `make > log.txt`. The proposed solution uses the make variable

OpenWrt 19.07.5 service release

2020-12-09 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the fifth service release of OpenWrt 19.07. It focuses on fixing several regression as well as security issues. Main changes from OpenWrt 19.07.4 Security fixes * Security Advisory 2020-12-09-2 - libuci import heap use after free

OpenWrt 18.06.9 final service release

2020-12-09 Thread Hauke Mehrtens
Hi, The OpenWrt Community is proud to announce the ninth service release of the stable OpenWrt 18.06 series. OpenWrt 18.06.9 brings security fixes, as well as the usual device support fixes and core components update. End of support for OpenWrt 18.06 This release is the final one for OpenWrt

Re: [PATCH 1/2] hostapd: run as user 'network'

2020-12-07 Thread Hauke Mehrtens
On 12/7/20 7:14 PM, Daniel Golle wrote: Granting capabilities CAP_NET_ADMIN and CAP_NET_RAW allows running hostapd and wpa_supplicant without root priviledges. Add ubus acl allowing the necessary ubus interactions for the 'network' user running hostapd/wpa_supplicant. To still allow netifd to

[PATCH 19.07] mac80211: Update to version 4.19.161-1

2020-12-06 Thread Hauke Mehrtens
The removed patches were applied upstream. The changes to 357-mac80211-optimize-skb-resizing.patch are more complex. I think the patch already took care of the new changes done upstream. Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 8 +-- .../patches/ath

[no subject]

2020-12-03 Thread Hauke Mehrtens via openwrt-devel
in OpenWrt. The help text is copied from the Linux kernel Kconfig. Signed-off-by: Hauke Mehrtens --- config/Config-kernel.in | 34 ++ 1 file changed, 34 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 1cd9da4d12..ba724a2266 100644 --

Re: [RFC PATCH 0/4] mac80211: Update to version 5.10-rc6

2020-12-02 Thread Hauke Mehrtens
On 12/2/20 7:15 PM, Daniel Golle wrote: On Wed, Dec 02, 2020 at 08:56:50PM +0300, Andrey Jr. Melnikov wrote: Adrian Schmutzler wrote: [-- multipart/signed, encoding 7bit, 56 lines --] Hauke Mehrtens (4): mac80211: Update to version 5.8.18-test2 mac80211: Update to version 5.9.11

[RFC PATCH 1/4] mac80211: Update to version 5.8.18-test2

2020-12-01 Thread Hauke Mehrtens
The removed patches were applied upstream. Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 8 +- .../patches/ath/404-regd_no_assoc_hints.patch | 4 +- ...und-bug-with-some-inconsistent-BSSes.patch | 2 +- ...62-brcmfmac-Disable-power-management.patch

[RFC PATCH 4/4] iw: Update to version 5.9

2020-12-01 Thread Hauke Mehrtens
--- package/network/utils/iw/Makefile | 4 +- .../utils/iw/patches/001-nl80211_h_sync.patch | 354 +- .../utils/iw/patches/200-reduce_size.patch| 6 +- 3 files changed, 11 insertions(+), 353 deletions(-) diff --git a/package/network/utils/iw/Makefile

[RFC PATCH 0/4] mac80211: Update to version 5.10-rc6

2020-12-01 Thread Hauke Mehrtens
backports based on this version in our next release. Please test this and report error to me. The changes are also in my stating tree: https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mac80211-5.10 Hauke Mehrtens (4): mac80211: Update to version 5.8.18-test2

[PATCH 1/2] kernel: Remove support for MAP-E FMRs RFC 7597

2020-11-21 Thread Hauke Mehrtens
nts (parts?) or MAP-E FMRs (draft-ietf-softwire-map-10) which is now RFC 7597 If you still need this feature also try to get this into mainline Linux. Signed-off-by: Hauke Mehrtens --- ...Add-support-for-MAP-E-FMRs-mesh-mode.patch | 501 -- 1 file changed, 501 deletions(-) d

[PATCH 2/2] kernel: Remove ipv6: allow rejecting with "source address failed policy"

2020-11-21 Thread Hauke Mehrtens
orski)") and commit 6bd1a3700191 ("add initial 3.13 support") in 2013 and 2014. If you still need this feature also try to get this into mainline Linux. Cc: Steven Barth Signed-off-by: Hauke Mehrtens --- .../generic/hack-5.4/902-debloat_proc.patch | 4 +- ...ng-with-source-address

[PATCH 0/2] Remove pending network patches

2020-11-21 Thread Hauke Mehrtens
These patches are included in OpenWrt since 2014 and never got integrated into upstream Linux kernel. To reduce the maintenance overhead just remove them. Hauke Mehrtens (2): kernel: Remove support for MAP-E FMRs RFC 7597 kernel: Remove ipv6: allow rejecting with "source address f

[PATCH] valgrind: Update to version 3.16.1

2020-11-14 Thread Hauke Mehrtens
No special changes, just get in sync with recent code. See here for the changelog: https://valgrind.org/docs/manual/dist.news.html Signed-off-by: Hauke Mehrtens --- package/devel/valgrind/Makefile | 6 +++--- .../devel/valgrind/patches/100-fix_configure_check.patch

[PATCH] strace: Update to version 5.9

2020-11-14 Thread Hauke Mehrtens
No special changes, just get in sync with recent code. See here for the changelog: https://github.com/strace/strace/releases/tag/v5.9 Signed-off-by: Hauke Mehrtens --- package/devel/strace/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/devel/strace

[PATCH] iperf3: Update to version 3.9

2020-11-14 Thread Hauke Mehrtens
No special changes, just get in sync with recent code. See here for the changelog: http://software.es.net/iperf/news.html#iperf-3-9-released Signed-off-by: Hauke Mehrtens --- package/network/utils/iperf3/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package

Re: Wireless Battle of the Mesh with OpenWrt talks this weekend

2020-11-14 Thread Hauke Mehrtens
On 11/11/20 12:38 AM, Hauke Mehrtens wrote: OpenWrt supports this year's "Wireless Battle of the Mesh - Virtual Global Edition". The event aims to virtually bring together people from across the globe who are interested in community networks, including wireless mesh network te

Re: [PATCH] iproute2: update to 5.9

2020-11-13 Thread Hauke Mehrtens
On 11/12/20 6:18 PM, Hans Dedecker wrote: Update iproute2 to latest stable 5.9; for the changes see https://lwn.net/Articles/834755/ Refresh patches Signed-off-by: Hans Dedecker Acked-by: Hauke Mehrtens --- package/network/utils/iproute2/Makefile | 4

Re: Upcoming 19.07.4 and 18.07.9 stable releases

2020-11-11 Thread Hauke Mehrtens
On 11/11/20 1:17 AM, Adrian Schmutzler wrote: I would wait for the build bot results and then do it at the weekend. Should we also do an other 19.07 release now? "ath79: ar8216: make switch register access atomic" could be a big deal for ath79 users, and several ramips users might be happy

Re: Upcoming 19.07.4 and 18.07.9 stable releases

2020-11-10 Thread Hauke Mehrtens
On 7/30/20 8:57 PM, Baptiste Jonglez wrote: Hi, New point releases for 19.07 and 18.06 are starting to be overdue, and I would like to help 19.07.4 and 18.06.9 get released somewhere around mid-August. The main motivation are fixes for a libubox regression and for the musl synchronisation bug,

Wireless Battle of the Mesh with OpenWrt talks this weekend

2020-11-10 Thread Hauke Mehrtens
OpenWrt supports this year's "Wireless Battle of the Mesh - Virtual Global Edition". The event aims to virtually bring together people from across the globe who are interested in community networks, including wireless mesh network technologies, fiber infrastructure, Do-It-Yourself Internet

[PATCH 2/5] toolchain: gdb: Disable tests

2020-10-28 Thread Hauke Mehrtens
Instead of patching the tests out, just remove them with a configure option. No files were generates in the testsuite and unit-test directories. Signed-off-by: Hauke Mehrtens --- toolchain/gdb/Makefile | 2 ++ toolchain/gdb/patches/110-no_testsuite.patch | 21

[PATCH 4/5] gdb: Always use system zlib

2020-10-28 Thread Hauke Mehrtens
Instead of using the system zlib when the package is selected and using the internal zlib if it is not selected in OpenWrt, just activate it always. This should make the package more deterministic. Signed-off-by: Hauke Mehrtens --- package/devel/gdb/Makefile | 3 ++- 1 file changed, 2

[PATCH 3/5] gdb: Update to version 10.1

2020-10-28 Thread Hauke Mehrtens
gdb 10.1 adds many new features for example gdbserver support for - ARC GNU/Linux - RISC-V GNU/Linux Signed-off-by: Hauke Mehrtens --- package/devel/gdb/Makefile | 6 +++--- .../patches/001-gdb-pr14523-mips-signal-number.patch | 4 ++-- package/devel/gdb/patches

[PATCH 1/5] toolchain: gdb: Update to version 10.1

2020-10-28 Thread Hauke Mehrtens
gdb 10.1 adds many new features for example gdbserver support for - ARC GNU/Linux - RISC-V GNU/Linux Removed this patch, because similar changes are now integrated upstream: toolchain/gdb/patches/100-no_extern_inline.patch Signed-off-by: Hauke Mehrtens --- toolchain/gdb/Makefile

[PATCH 5/5] gdb: Disable tests

2020-10-28 Thread Hauke Mehrtens
We do not use the tests or ubsan in our gdb package. Signed-off-by: Hauke Mehrtens --- package/devel/gdb/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile index 50d43e9fc193..e824f09e8fd0 100644 --- a/package/devel/gdb

Battlemesh v13 Virtual Global Editions -- 14-15 November 2020

2020-10-14 Thread Hauke Mehrtens
Hi OpenWrt community, The Battlemesh v13 Virtual Global Editions is officially announced now! We would like to get some OpenWrt talks at this event, please participate and also propose some presentations. Hauke Forwarded Message Subject: [Battlemesh] Battlemesh v13

Re: Monocultures are bad [Was: Re: [PATCH] build: Extract trusted-firmware-a.mk]

2020-10-12 Thread Hauke Mehrtens
On 10/12/20 8:45 PM, Tomasz Maciej Nowak wrote: Hi. W dniu 12.10.2020 o 16:32, Andre Heider pisze: On 12/10/2020 12:21, Petr Štetiar wrote: Hauke Mehrtens [2020-10-11 20:41:21]: Hi,   (I've expressed this already in my initial review[1] which was not addressed    and pushed anyway

[PATCH] build: Extract trusted-firmware-a.mk

2020-10-11 Thread Hauke Mehrtens
activate the build when build bot creates images. Signed-off-by: Hauke Mehrtens --- include/trusted-firmware-a.mk | 93 +++ .../boot/arm-trusted-firmware-mvebu/Makefile | 158 -- 2 files changed, 164 insertions(+), 87 deletions(-) create mode 100644

Re: [PATCH 2/2] target/linux: disable legacy and debug cifs options

2020-10-10 Thread Hauke Mehrtens
On 9/15/20 3:33 AM, Rosen Penev wrote: CIFS_ALLOW_INSECURE_LEGACY is only relevant for mounting shares that are provided by old CIFS servers. It is not relevant to the Samba or ksmbd package that provide a server. There are many old SMB servers running which do not support SMB 2.1 or later.

Re: [PATCH] mvebu: enable the vDSO

2020-10-10 Thread Hauke Mehrtens
On 10/7/20 8:20 PM, Rui Salvaterra wrote: The vDSO is used to accelerate some syscalls. It's working fine on other ARM targets (e.g. sunxi), let's also enable it on mvebu. Signed-off-by: Rui Salvaterra --- target/linux/mvebu/config-5.4 | 1 + 1 file changed, 1 insertion(+) Hi, I would

[PATCH 1/4] kernel: Remove 2FS_FS_XATTR and F2FS_STAT_FS symbols from target configs

2020-10-10 Thread Hauke Mehrtens
This config option was moved to the generic kernel configuration. Fixes: ab1bd576562b ("kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic") Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/fs.mk| 2 -- target/linux/apm821xx/sata/config-default | 1

[PATCH 4/4] kernel: Move CONFIG_*_FS_XATTR to generic kernel config

2020-10-10 Thread Hauke Mehrtens
This option is now activated in the generic kernel configuration, no need to do it for a specific package. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/fs.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/kernel/linux/modules/fs.mk b/package

[PATCH 2/4] kernel: Move CONFIG_F2FS_FS_SECURITY to generic kernel config

2020-10-10 Thread Hauke Mehrtens
Move the CONFIG_F2FS_FS_SECURITY kernel configuration option to the generic kernel configuration. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/fs.mk| 1 - target/linux/apm821xx/sata/config-default | 1 - target/linux/armvirt/config-4.19 | 1 - target/linux

[PATCH 3/4] kernel: move CONFIG_F2FS_CHECK_FS to generic kernel config

2020-10-10 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/fs.mk| 5 + target/linux/apm821xx/sata/config-default | 1 - target/linux/armvirt/config-4.19 | 1 - target/linux/armvirt/config-5.4 | 1 - target/linux/generic/config-4.19 | 1 + target/linux

Re: [PATCH uci 4/6] tests: cram: add uci import testing on fuzzer corpus

2020-10-05 Thread Hauke Mehrtens
On 10/5/20 2:03 PM, Petr Štetiar wrote: > Hauke Mehrtens [2020-10-04 17:10:59]: > >> On 10/3/20 9:48 AM, Petr Štetiar wrote: >>> Use valgrind and uci cli compiled with undefined, address and leak >>> sanitizers. >> >>> diff --git a/tests/cram

[PATCH uci v2 2/4] file: Check buffer size after strtok()

2020-10-04 Thread Hauke Mehrtens
ing in uninitialized memory and later over the allocated buffer. Fix this problem by storing how long the line we read was and check if we would read over the end of the string here. This also adds the input which detected this crash to the corpus of the fuzzer. Signed-off-by: Hauke Mehrtens --- Changelog:

[PATCH uci v2 1/4] file: use size_t for position and pointer

2020-10-04 Thread Hauke Mehrtens
The bufsz variable is used to store the size of the buf memory region and pos is used to index a position in this memory. Use size_t for these variables in the internal handling instaed of int to not break with big files. Signed-off-by: Hauke Mehrtens --- file.c | 14

[PATCH uci v2 0/4] uci: Fix multiple bugs

2020-10-04 Thread Hauke Mehrtens
This is based on Petr's "[PATCH uci 0/6] fixes and improvements" patches. This fixes an additional heap read overflow and some other problems I discovered by analyzing and fixing the problem. Changelog: v1: - only "file: Check buffer size after strtok()" Hauke Mehrtens (4)

[PATCH uci v2 4/4] Replace malloc() + memset() with calloc()

2020-10-04 Thread Hauke Mehrtens
Instead of manually clearing the memory with memset() use calloc(). Signed-off-by: Hauke Mehrtens --- cli.c| 3 +-- libuci.c | 3 +-- ucimap.c | 6 ++ util.c | 3 +-- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/cli.c b/cli.c index 6ba97ea..267437d 100644

[PATCH uci v2 3/4] ucimap: Check return of malloc()

2020-10-04 Thread Hauke Mehrtens
Check the return value of malloc() before accessing it. Signed-off-by: Hauke Mehrtens --- ucimap.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ucimap.c b/ucimap.c index 7c2b043..c46cf45 100644 --- a/ucimap.c +++ b/ucimap.c @@ -893,14 +893,16 @@ ucimap_parse(struct

Re: [PATCH uci 1/6] tests: add libFuzzer based fuzzing

2020-10-04 Thread Hauke Mehrtens
On 10/3/20 9:48 AM, Petr Štetiar wrote: > LibFuzzer is in-process, coverage-guided, evolutionary fuzzing engine. > > LibFuzzer is linked with the library under test, and feeds fuzzed inputs > to the library via a specific fuzzing entrypoint (aka "target > function"); the fuzzer then tracks which

Re: [PATCH uci 4/6] tests: cram: add uci import testing on fuzzer corpus

2020-10-04 Thread Hauke Mehrtens
On 10/3/20 9:48 AM, Petr Štetiar wrote: > Use valgrind and uci cli compiled with undefined, address and leak > sanitizers. > diff --git a/tests/cram/test-san_uci_import.t > b/tests/cram/test-san_uci_import.t > new file mode 100644 > index ..7faed221f93e > --- /dev/null > +++

[PATCH uci 1/4] file: use size_t for position and pointer

2020-10-03 Thread Hauke Mehrtens
The bufsz variable is used to store the size of the buf memory region and pos is used to index a position in this memory. Use size_t for these variables in the internal handling instaed of int to not break with big files. Signed-off-by: Hauke Mehrtens --- file.c | 14

[PATCH uci 2/4] file: Check buffer size after strtok()

2020-10-03 Thread Hauke Mehrtens
ing in uninitialized memory and later over the allocated buffer. Fix this problem by storing how long the line we read was and check if we would read over the end of the string here. This also adds the input which detected this crash to the corpus of the fuzzer. Signed-off-by: Hauke Mehrtens --- fil

<    1   2   3   4   5   6   7   8   9   10   >