Re: [OpenWrt-Devel] [PATCH 2/2] dnsmasq: decouple /tmp/resolv.conf from value of option resolvfile

2019-02-17 Thread Yousong Zhou
On Mon, 18 Feb 2019 at 04:00, Hans Dedecker wrote: > > Hi Yousong, > On Thu, Feb 14, 2019 at 1:15 PM Yousong Zhou wrote:Y > > > > Option resolvfile should now affect only how dnsmasq itself will run. > > The implicit effect of its specific value on other parts of the system > > makes the code unn

Re: [OpenWrt-Devel] [PATCH v2] net: Allow class-e address assignment via ifconfig ioctl

2019-02-17 Thread Sasha Levin
On Sun, Feb 17, 2019 at 10:18:29PM +0100, Linus Walleij wrote: On Sun, Feb 17, 2019 at 7:22 PM Sasha Levin wrote: Either way, David Miller will need to sign off on this since he manages net/ -stable patches. I was unaware of different route points for stable patches, but it makes sense. Mayb

Re: [OpenWrt-Devel] [PATCH v2] net: Allow class-e address assignment via ifconfig ioctl

2019-02-17 Thread David Miller
From: Sasha Levin Date: Sun, 17 Feb 2019 13:22:41 -0500 > On Thu, Feb 14, 2019 at 02:16:04PM +0100, Linus Walleij wrote: >>From: Dave Taht >> >>commit 65cab850f0eeaa9180bd2e10a231964f33743edf upstream. >> >>While most distributions long ago switched to the iproute2 suite >>of utilities, which al

Re: [OpenWrt-Devel] [PATCH v2] net: Allow class-e address assignment via ifconfig ioctl

2019-02-17 Thread Linus Walleij
On Sun, Feb 17, 2019 at 7:22 PM Sasha Levin wrote: > On Thu, Feb 14, 2019 at 02:16:04PM +0100, Linus Walleij wrote: > >From: Dave Taht > > > >commit 65cab850f0eeaa9180bd2e10a231964f33743edf upstream. > > > >While most distributions long ago switched to the iproute2 suite > >of utilities, which al

Re: [OpenWrt-Devel] [PATCH 1/8 v3] bridge: multicast to unicast

2019-02-17 Thread Linus Walleij
On Sun, Feb 17, 2019 at 7:16 PM Sasha Levin wrote: > On Thu, Feb 14, 2019 at 02:23:56PM +0100, Linus Walleij wrote: > >From: Felix Fietkau > > > >commit 6db6f0eae6052b70885562e1733896647ec1d807 upstream. > > > >Implements an optional, per bridge port flag and feature to deliver > >multicast packe

Re: [OpenWrt-Devel] [PATCH 5/8 v3] ubifs: Drop softlimit and delta fields from struct ubifs_wbuf

2019-02-17 Thread Linus Walleij
On Sun, Feb 17, 2019 at 7:16 PM Sasha Levin wrote: > On Thu, Feb 14, 2019 at 02:24:00PM +0100, Linus Walleij wrote: > >From: Rafał Miłecki > > > >commit 854826c9d526fd81077742c3b000e3f7fcaef3ce upstream. > > > >Values of these fields are set during init and never modified. They are > >used (read)

Re: [OpenWrt-Devel] [PATCH 6/8 v3] ubifs: Use dirty_writeback_interval value for wbuf timer

2019-02-17 Thread Linus Walleij
On Sun, Feb 17, 2019 at 7:18 PM Sasha Levin wrote: > On Thu, Feb 14, 2019 at 02:24:01PM +0100, Linus Walleij wrote: > >From: Rafał Miłecki > > > >commit 1b7fc2c0069f3864a3dda15430b7aded31c0bfcc upstream. > > > >Right now wbuf timer has hardcoded timeouts and there is no place for > >manual adjust

Re: [OpenWrt-Devel] [PATCH 2/2] gemini: Generate harddisk image for DNS-313

2019-02-17 Thread Linus Walleij
On Sun, Feb 17, 2019 at 5:22 PM Christian Lamparter wrote: > > + FILESYSTEMS := ext4 squashfs > > squashfs images would be nice. They are prefered because they support features > like better/safer Failsafe Mode and Factory Reset, which are not available for > the ext4 images as they need the

Re: [OpenWrt-Devel] [PATCH 2/2] dnsmasq: decouple /tmp/resolv.conf from value of option resolvfile

2019-02-17 Thread Hans Dedecker
Hi Yousong, On Thu, Feb 14, 2019 at 1:15 PM Yousong Zhou wrote:Y > > Option resolvfile should now affect only how dnsmasq itself will run. > The implicit effect of its specific value on other parts of the system > makes the code unnecessarily hard to follow > > Signed-off-by: Yousong Zhou > --- >

Re: [OpenWrt-Devel] [PATCH 6/8 v3] ubifs: Use dirty_writeback_interval value for wbuf timer

2019-02-17 Thread Richard Weinberger
Am Sonntag, 17. Februar 2019, 19:18:02 CET schrieb Sasha Levin: > On Thu, Feb 14, 2019 at 02:24:01PM +0100, Linus Walleij wrote: > >From: Rafał Miłecki > > > >commit 1b7fc2c0069f3864a3dda15430b7aded31c0bfcc upstream. > > > >Right now wbuf timer has hardcoded timeouts and there is no place for > >m

Re: [OpenWrt-Devel] [PATCH] mac80211: update to version 4.19.23-1

2019-02-17 Thread Daniel Golle
Thank you! I've tested this today and works great (and was little work to re-base my clean-up of rt2x00 on top of it, so you got my thumbs up) On Fri, Feb 15, 2019 at 09:38:47PM +0100, Hauke Mehrtens wrote: > This updates mac80211 to backports version 4.19.23-1 which includes all > the stable fixe

Re: [OpenWrt-Devel] [PATCH] Honour NO_COLOR in include/scan.mk

2019-02-17 Thread Hauke Mehrtens
On 1/30/19 3:01 PM, R. Diez wrote: > >> Could you please send a V2 with the requested change >> to print $(1) without ANSII escape sequences? > > Here it goes: > > Honour NO_COLOR in Makefile function 'progress' in include/scan.mk, in > the same way that include/verbose.mk does. > > > Signed-o

Re: [OpenWrt-Devel] [PATCH v2] net: Allow class-e address assignment via ifconfig ioctl

2019-02-17 Thread Sasha Levin
On Thu, Feb 14, 2019 at 02:16:04PM +0100, Linus Walleij wrote: From: Dave Taht commit 65cab850f0eeaa9180bd2e10a231964f33743edf upstream. While most distributions long ago switched to the iproute2 suite of utilities, which allow class-e (240.0.0.0/4) address assignment, distributions relying on

Re: [OpenWrt-Devel] [PATCH v2] uapi/if_ether.h: prevent redefinition of struct ethhdr

2019-02-17 Thread Sasha Levin
On Thu, Feb 14, 2019 at 02:18:00PM +0100, Linus Walleij wrote: From: Hauke Mehrtens commit 6926e041a8920c8ec27e4e155efa760aa01551fd upstream. Musl provides its own ethhdr struct definition. Add a guard to prevent its definition of the appropriate musl header has already been included. glibc d

[OpenWrt-Devel] [sdwalker/sdwalker.github.io] 06e365: This week's update

2019-02-17 Thread Stephen Walker
Branch: refs/heads/master Home: https://github.com/sdwalker/sdwalker.github.io Commit: 06e365b348ec39206dbb5d8b73c1daffdbd53dd7 https://github.com/sdwalker/sdwalker.github.io/commit/06e365b348ec39206dbb5d8b73c1daffdbd53dd7 Author: Stephen Walker Date: 2019-02-17 (Sun, 17 Feb 2

Re: [OpenWrt-Devel] [PATCH 6/8 v3] ubifs: Use dirty_writeback_interval value for wbuf timer

2019-02-17 Thread Sasha Levin
On Thu, Feb 14, 2019 at 02:24:01PM +0100, Linus Walleij wrote: From: Rafał Miłecki commit 1b7fc2c0069f3864a3dda15430b7aded31c0bfcc upstream. Right now wbuf timer has hardcoded timeouts and there is no place for manual adjustments. Some projects / cases many need that though. Few file systems a

Re: [OpenWrt-Devel] [PATCH 5/8 v3] ubifs: Drop softlimit and delta fields from struct ubifs_wbuf

2019-02-17 Thread Sasha Levin
On Thu, Feb 14, 2019 at 02:24:00PM +0100, Linus Walleij wrote: From: Rafał Miłecki commit 854826c9d526fd81077742c3b000e3f7fcaef3ce upstream. Values of these fields are set during init and never modified. They are used (read) in a single function only. There isn't really any reason to keep them

Re: [OpenWrt-Devel] [PATCH 1/8 v3] bridge: multicast to unicast

2019-02-17 Thread Sasha Levin
On Thu, Feb 14, 2019 at 02:23:56PM +0100, Linus Walleij wrote: From: Felix Fietkau commit 6db6f0eae6052b70885562e1733896647ec1d807 upstream. Implements an optional, per bridge port flag and feature to deliver multicast packets to any host on the according port via unicast individually. This is

Re: [OpenWrt-Devel] [PATCH 2/2] gemini: Generate harddisk image for DNS-313

2019-02-17 Thread Christian Lamparter
On Friday, February 15, 2019 5:02:23 PM CET Linus Walleij wrote: > This makes OpenWrt build an Ext2+Ext4 partitioned image > for the D-Link DNS-313 with two blank partitions, a boot > partition on /dev/sda3 and a rootfs partition on > /dev/sda4. > > This uses the methods already used in apm821xx i

Re: [OpenWrt-Devel] [PATCH 1/2] ath79: Add GL.iNet AR-300M-Lite

2019-02-17 Thread Jeff Kletsky
On 2/16/19 12:03 PM, w...@reboot.ch wrote: Hello Jeff, I did try your suggested change but really not sure to have done that correctly, this is what lsusb shows while I have a wifi usb dongle connected (also tried with memory stick): Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root

Re: [OpenWrt-Devel] [BUG] lantiq: net: wrong operator

2019-02-17 Thread Bjørn Mork
"Kevin 'ldir' Darbyshire-Bryant" writes: >> it looks indeed wrong. And looking more closer at the lines, I don't >> get why we need the double negation. > > Having seen this code structure before, it’s a non-obvious way of > turning a masked and hence value based true/false into a binary 0 or 1 >

Re: [OpenWrt-Devel] [BUG] lantiq: net: wrong operator

2019-02-17 Thread Kevin 'ldir' Darbyshire-Bryant
> On 17 Feb 2019, at 08:57, Mathias Kresin wrote: > > 08/02/2019 09:23, Petr Cvek: >> Hello, >> There is a wrong code in 0025-NET-MIPS-lantiq-adds-xrx200-net.patch [1], the >> original code: >> +link->rx_flow = !!(xrx200sw_read_x(XRX200_MAC_CTRL_0_FCON, port) && >> 0x0010); >> +link->

[OpenWrt-Devel] [PATCH] mt7621: add kexec smp shutdown patch.

2019-02-17 Thread Daniel Danzberger
This patch shuts down all secondary cpus before executing machine_kexec. This avoids paging errors and random hangups when doing kexec. Signed-off-by: Daniel Danzberger --- .../120-mt7621-kexec-smp-shutdown.patch | 65 +++ 1 file changed, 65 insertions(+) create mode 10064

Re: [OpenWrt-Devel] [BUG] lantiq: net: wrong operator

2019-02-17 Thread Mathias Kresin
08/02/2019 09:23, Petr Cvek: Hello, There is a wrong code in 0025-NET-MIPS-lantiq-adds-xrx200-net.patch [1], the original code: + link->rx_flow = !!(xrx200sw_read_x(XRX200_MAC_CTRL_0_FCON, port) && 0x0010); + link->tx_flow = !!(xrx200sw_read_x(XRX200_MAC_CTRL_0_FCON, port) && 0x0

Re: [OpenWrt-Devel] [PATCH] apm821xx, ath79, lantiq, ramips: move named gpio exports to generic

2019-02-17 Thread Mathias Kresin
13/02/2019 07:14, Petr Štetiar: Mathias Kresin [2019-02-12 23:19:24]: 12/02/2019 20:49, Daniel Golle: The patch was copied to a bunch of platforms and seems to be a quite useful feature for various things. Move it to generic to avoid code duplication. Follow up to the discussion in https://