[LEDE-DEV] [PATCH] uci: fix a potential use-after-free in uci_set()

2018-03-12 Thread Jordan Miner
When calling uci_set() to update an option, if ptr->o != NULL and ptr->option == NULL, then uci_expand_ptr() will set ptr->option to ptr->o->e.name (or the caller could set ptr->option to that value). In this case, the option will be freed just before calling uci_alloc_option() with ptr->option, wh

Re: [LEDE-DEV] [openwrt/openwrt] toolchain/binutils: add support for version 2.30

2018-03-12 Thread Arjen de Korte
Citeren Hauke Mehrtens : On 03/12/2018 09:48 PM, Arjen de Korte wrote: Citeren Felix Fietkau : On 2018-03-12 21:02, Arjen de Korte wrote: Citeren LEDE Commits : nbd pushed a commit to openwrt/openwrt.git, branch master: https://git.lede-project.org/e28551b103f4999b36d3725a23b59f507830f48a

Re: [LEDE-DEV] [openwrt/openwrt] toolchain/binutils: add support for version 2.30

2018-03-12 Thread Hauke Mehrtens
On 03/12/2018 09:48 PM, Arjen de Korte wrote: > Citeren Felix Fietkau : > >> On 2018-03-12 21:02, Arjen de Korte wrote: >>> Citeren LEDE Commits : >>> nbd pushed a commit to openwrt/openwrt.git, branch master: https://git.lede-project.org/e28551b103f4999b36d3725a23b59f507830f48a >

Re: [LEDE-DEV] [openwrt/openwrt] toolchain/binutils: add support for version 2.30

2018-03-12 Thread Arjen de Korte
Citeren Felix Fietkau : On 2018-03-12 21:02, Arjen de Korte wrote: Citeren LEDE Commits : nbd pushed a commit to openwrt/openwrt.git, branch master: https://git.lede-project.org/e28551b103f4999b36d3725a23b59f507830f48a commit e28551b103f4999b36d3725a23b59f507830f48a Author: Felix Fietkau Au

Re: [LEDE-DEV] [openwrt/openwrt] toolchain/binutils: add support for version 2.30

2018-03-12 Thread Felix Fietkau
On 2018-03-12 21:02, Arjen de Korte wrote: > Citeren LEDE Commits : > >> nbd pushed a commit to openwrt/openwrt.git, branch master: >> https://git.lede-project.org/e28551b103f4999b36d3725a23b59f507830f48a >> >> commit e28551b103f4999b36d3725a23b59f507830f48a >> Author: Felix Fietkau >> AuthorDate

[LEDE-DEV] [PATCH] Add support for Comfast E314N

2018-03-12 Thread Bill Moffitt
The Comfast E314N-V2 is a 2.4 GHz 2x2 radio with a built-in directional antenna and a second Ethernet port - very similar to the Ubiquiti NanoStation M2. The Ethernet port features a pass-through PoE capability, enabled or disabled with a slide switch. The radio is built using a Qualcomm/Atheros QC

Re: [LEDE-DEV] [openwrt/openwrt] toolchain/binutils: add support for version 2.30

2018-03-12 Thread Arjen de Korte
Citeren LEDE Commits : nbd pushed a commit to openwrt/openwrt.git, branch master: https://git.lede-project.org/e28551b103f4999b36d3725a23b59f507830f48a commit e28551b103f4999b36d3725a23b59f507830f48a Author: Felix Fietkau AuthorDate: Thu Mar 8 11:21:58 2018 +0100 toolchain/binutils: add s

[LEDE-DEV] Fwd: revisited: Nanostation m5 XW ethernet patch gone

2018-03-12 Thread Joe Ayers
The NS M5 XW has an internal switch. Could you be running into the issue where a given port can only do tagged or un-tagged, but not both? The NS M5 XW never had the issue related to this thread, which is unique to UBNT's use of a separate AR803x with GPIO wiring to reset it. By the way, if any

Re: [LEDE-DEV] new buildbot slave

2018-03-12 Thread Jo-Philipp Wich
Hello Daniel, > I am Daniel Müllers from Aachen. I like to setup two Buildbot Slave > to provid the LEDE OpenWRT Project with some build power. thank you for your generous offer! Can you elaborate a bit on the specifications of the machine? > Is this the way to setup an Buildbot Slave? Setting

Re: [LEDE-DEV] revisited: Nanostation m5 XW ethernet patch gone

2018-03-12 Thread Daniel Golle
Hi! I just witnessed the Ethernet issue returning on OpenWrt snapshot on Ubiquiti NanoStation M5 XW (NSM5-XW): ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd043, driver=Atheros AR8216/AR8236/AR8316] After about three days uptime eth0 links were lost and could be recovered by resetting

[LEDE-DEV] [PATCH] kernel: drop patch hacking bridge to accept EAP only locally

2018-03-12 Thread Rafał Miłecki
From: Rafał Miłecki EAPOL frames have wireless interface address specified as destination. That makes "dst->is_local" condition true for them and results in upstream code processing frames the same way as OpenWrt/LEDE's hack. This code could be needed years ago but currently it seems redundant.

[LEDE-DEV] [PATCH 2/3] kernel: bump 4.9 to 4.9.87

2018-03-12 Thread Koen Vandeputte
- Refreshed all patches Compile tested on: ar71xx Runtime tested on: ar71xx Signed-off-by: Koen Vandeputte --- include/kernel-version.mk | 4 +- .../patches-4.9/910-unaligned_access_hacks.patch | 2 +- ...-tcp-tsq-add-shortcut-in-tcp_tasklet_func.patch | 2 +- .

[LEDE-DEV] [PATCH 1/3] kernel: bump 4.14 to 4.14.26

2018-03-12 Thread Koen Vandeputte
- Refreshed all patches Compile tested on: cns3xxx, imx6 Runtime tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte --- include/kernel-version.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index e24c96e9a6a6

[LEDE-DEV] [PATCH 3/3] kernel: bump 4.4 to 4.4.121

2018-03-12 Thread Koen Vandeputte
- Refreshed all patches - Only compile-tested Compile tested on: Gemini Signed-off-by: Koen Vandeputte --- include/kernel-version.mk | 4 ++-- .../patches-4.4/910-unaligned_access_hacks.patch | 2 +- ...w-rejecting-with-source-address-failed-policy.patch | 1

[LEDE-DEV] [PATCH 2/2] glibc: update glibc to 2.26+ and switch to download from git

2018-03-12 Thread Hans Dedecker
Switch glibc to 2.26+ [0] and download the sources from git which will it make easier to update glibc in the future. For an overview of the fixed bugs and CVE related fixes in 2.26+ see the NEWS file [1] [0] https://sourceware.org/git/?p=glibc.git;a=commit;h=d300041c533a3d837c9f37a099bcc95466860

[LEDE-DEV] [PATCH 1/2] glibc: fix applying of patches

2018-03-12 Thread Hans Dedecker
Commit f4d9d7a removed support for version specific patches; but it also broke applying of patches in the patches glibc dir. Fix the issue by setting PATCH_DIR to $(PATH_PREFIX)/patches similar as musl/common.mk. Signed-off-by: Xinxing Hu Signed-off-by: Hans Dedecker --- toolchain/glibc/common.