Re: [OpenWrt-Devel] [PATCH v4 0/6] intel-microcode: load as early as possible

2018-11-28 Thread Tomasz Maciej Nowak
W dniu 28.11.2018 o 20:34, Lucian Cristian pisze: > On 27.11.2018 19:59, John Crispin wrote: >> >> On 27/11/2018 18:15, Tomasz Maciej Nowak wrote: >>> W dniu 27.11.2018 o 18:04, John Crispin pisze: On 27/11/2018 16:11, Tomasz Maciej Nowak wrote: > W dniu 27.11.2018 o 14:47, Lucian Cristian

[OpenWrt-Devel] [PATCH] x86: make sysupgrade.tgz reachable again

2018-11-28 Thread Tomasz Maciej Nowak
Moving binding mount before check for saved sysupgrade configuration made it unreachable. Fix it by moving binding mount after the check. Fixes: f78b2616 (x86: mount writable bootfs) Reported-by: Lucian Cristian Signed-off-by: Tomasz Maciej Nowak --- target/linux/x86/base-files/lib/preinit/79_m

Re: [OpenWrt-Devel] [PATCH v4 0/6] intel-microcode: load as early as possible

2018-11-28 Thread Lucian Cristian
On 27.11.2018 19:59, John Crispin wrote: On 27/11/2018 18:15, Tomasz Maciej Nowak wrote: W dniu 27.11.2018 o 18:04, John Crispin pisze: On 27/11/2018 16:11, Tomasz Maciej Nowak wrote: W dniu 27.11.2018 o 14:47, Lucian Cristian pisze: On 26.11.2018 23:58, Tomasz Maciej Nowak wrote: W dniu 26

[OpenWrt-Devel] [PATCH v3] octeon: Allow sysupgrade restore on ER

2018-11-28 Thread Jonathan Thibault
This is a very simple patch that completes sysupgrade functionality on UBNT ER8. Default layout leaves about 128MB free on the kernel partition so there is plenty of space for temporary config backups. --- v2: checks board name in alphabetical order v3: used git send-email to avoid patch mangling

[OpenWrt-Devel] [PATCH v2] Add generic actions to sched-core

2018-11-28 Thread Jonathan Thibault
Greetings, Next in my series of 'OpenWRT as a network swiss army knife' patches, I suggest having the ability to accept/drop frames with TC as part of sched-core. This can be useful in cases where you need very fast (if simplistic) packet filtering. I believe they are basic enough to be consider

Re: [OpenWrt-Devel] umdns vs avahi: differences in browse (missing ip addresses)

2018-11-28 Thread Karl Palsson
Karl Palsson wrote: > > Hi, > > I've been using umdns to advertise some services for a little > while, and when browsing from my desk, with avahi-browse, it > has worked well. I've finally gotten around to using "ubus > umdns browse" and have found some > inconsistences/differences/quirks. Any

[OpenWrt-Devel] umdns vs avahi: differences in browse (missing ip addresses)

2018-11-28 Thread Karl Palsson
Hi, I've been using umdns to advertise some services for a little while, and when browsing from my desk, with avahi-browse, it has worked well. I've finally gotten around to using "ubus umdns browse" and have found some inconsistences/differences/quirks. Any insights appreciated. Two hosts on th

Re: [OpenWrt-Devel] ath9k: Max 3 dBi gain for FCC (365-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch)

2018-11-28 Thread Sven Eckelmann
On Dienstag, 31. Juli 2018 10:57:03 CET Sven Eckelmann wrote: > Hi, > > I've just checked the FCC "antenna reduction workaround" patch [1] in ath9k. > The code uses twicepower (.5 dB unit used by QCA) and uses 6 (3dBi) as > allowed > gain for FCC. The comment also states "FCC allows maximum ant

Re: [OpenWrt-Devel] [PATCH 1/3] kernel: ar83xx: Add support for three GMAC's connection

2018-11-28 Thread Ram Chandra Jangir
On 11/26/2018 3:15 PM, John Crispin wrote: On 19/10/2018 13:17, Ram Chandra Jangir wrote: We have IPQ8064 AP161 board which has three GMAC's   * RGMII x2   * SGMII x1. The existing ar8327 driver does not have support for three GMAC's connection, hence this change adds support for the same. Th

Re: [OpenWrt-Devel] [PATCH v3 3/3] Add _safe variants for all attribute checking methods

2018-11-28 Thread Tobias Schramm
Hi, good catch. I've sent a v4 that addresses this issue. Regards Tobias ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH v4 0/3] libubox: Enhance robustness of blobmsg parsing

2018-11-28 Thread Tobias Schramm
Hi, this patch set makes parsing of blobmsg messages more robust against malformed data. Previously blobmsg_parse would crash due to out of bounds reads when provied with malformed blobs containing invalid blob length specifications. I've introduced a _safe variant of all blobmsg_check_* methods

[OpenWrt-Devel] [PATCH v4 2/3] Replace use of blobmsg_check_attr by blobmsg_check_attr_safe

2018-11-28 Thread Tobias Schramm
blobmsg_check_attr_safe adds a length limit specifying the max offset from attr that can be read safely Signed-off-by: Tobias Schramm --- blobmsg.c | 24 ++-- blobmsg.h | 24 +++- 2 files changed, 41 insertions(+), 7 deletions(-) diff --git a/blobmsg.c b

[OpenWrt-Devel] [PATCH v4 3/3] Add _safe variants for all attribute checking methods

2018-11-28 Thread Tobias Schramm
Signed-off-by: Tobias Schramm --- blobmsg.c | 12 ++-- blobmsg.h | 49 - 2 files changed, 58 insertions(+), 3 deletions(-) diff --git a/blobmsg.c b/blobmsg.c index 10f3801..13c83bc 100644 --- a/blobmsg.c +++ b/blobmsg.c @@ -75,13 +75,16 @@

[OpenWrt-Devel] [PATCH v4 1/3] Ensure blob_attr length check does not perform out of bounds reads

2018-11-28 Thread Tobias Schramm
Before there might have been as little as one single byte left which would result in 3 bytes of blob_attr->id_len being out of bounds Signed-off-by: Tobias Schramm --- blob.h| 4 ++-- blobmsg.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blob.h b/blob.h index a092

Re: [OpenWrt-Devel] [PATCH v3 3/3] Add _safe variants for all attribute checking methods

2018-11-28 Thread Felix Fietkau
On 2018-11-28 02:35, Tobias Schramm wrote: > Signed-off-by: Tobias Schramm > --- > blobmsg.c | 12 ++-- > blobmsg.h | 49 - > 2 files changed, 58 insertions(+), 3 deletions(-) > > diff --git a/blobmsg.c b/blobmsg.c > index 10f3801..4b142e9