[PATCH buildbot] phase1: don't add kmod feed via buildbot

2020-10-21 Thread Paul Spooren
The kmod feed links to a kernel specific archive of compatible kmods. This allows snapshot devices install kmods even after the upstream kernel version changed. As the kmod feed is usable for both firmware and ImageBuilders, the feed should be added via openwrt.git/include/feeds.mk instead of

[PATCH 1/2] libcxxabi: update to 11.0.0

2020-10-21 Thread Rosen Penev
Added Fedora patch to remove the monorepo requirement. Fixed compilation under the SDK. Signed-off-by: Rosen Penev --- package/libs/libcxxabi/Makefile | 7 +++--- .../020-remove-monorepo-requirement.patch | 23 +++ 2 files changed, 26 insertions(+), 4

[PATCH 2/2] libcxx: update to 11.0.0

2020-10-21 Thread Rosen Penev
Added Fedora patch to remove monorepo requirement. Refreshed other patch. Signed-off-by: Rosen Penev --- package/libs/libcxx/Makefile | 4 +-- package/libs/libcxx/patches/010-ssp.patch | 2 +- .../020-remove-monorepo-requirement.patch | 33 +++ 3

Re: [PATCH netifd 4/4] interface: proto_ip: order by address index first

2020-10-21 Thread Hans Dedecker
On Wed, Oct 21, 2020 at 5:08 AM Yousong Zhou wrote: > > At the moment, dnsmasq initscript generates dhcp-range for an interface > by inspecting first address of that interface from netifd ubus output. > > Order by address index as specified in the uci config make netifd ubus > output consistent

Re: [PATCH netifd 3/4] device_addr: record address index as in the blob

2020-10-21 Thread Hans Dedecker
On Wed, Oct 21, 2020 at 5:08 AM Yousong Zhou wrote: > > Signed-off-by: Yousong Zhou Acked-by: Hans Dedecker > --- > interface-ip.h | 1 + > proto.c| 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/interface-ip.h b/interface-ip.h > index 5ab9299..b17ad94 100644 > ---

Re: [PATCH netifd 2/4] proto: rework parse_addr to return struct device_addr

2020-10-21 Thread Hans Dedecker
On Wed, Oct 21, 2020 at 5:08 AM Yousong Zhou wrote: > > This is a preparation for the next commit to record address index for > the returned device_addr struct > > Signed-off-by: Yousong Zhou Acked-by: Hans Dedecker > --- > proto.c | 26 +++--- > 1 file changed, 15

[PATCH v2 2/8] netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_REDIRECT

2020-10-21 Thread Yousong Zhou
CONFIG_IP_NF_TARGET_REDIRECT is a compat option since upstream commit 2cbc78a2 ("netfilter: combine ipt_REDIRECT and ip6t_REDIRECT"). That happened since linux 3.10 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 0/8] netfilter: kconfig symbol updates

2020-10-21 Thread Yousong Zhou
The series was based work by Tony Ambardar in GitHub pull request [1]. Many investigations were done by Tony annd many changes were done by me. All errors are mine of course. [1] https://github.com/openwrt/openwrt/pull/3257 The work focused on the following aspects. - Use current config

[PATCH v2 5/8] netfilter.mk: add version conditional for CONFIG_NF_CT_PROTO_GRE

2020-10-21 Thread Yousong Zhou
From: Tony Ambardar Kernel commit 22fc4c4c9fd6 ("netfilter: conntrack: gre: switch module to be built-in") moved the CT GRE code into the core nf_conntrack.ko module and changed the CONFIG_NF_CT_PROTO_GRE option to boolean for kernel 5.1 and onwards. CONFIG_NF_CT_PROTO_GRE at the moment has no

[PATCH v2 7/8] netfilter.mk: add version conditional around nf_nat_redirect mod

2020-10-21 Thread Yousong Zhou
Kernel commit 1ac89d20150e ("netfilter: nat: merge nf_nat_redirect into nf_nat") made the redirect module part of the nat core and changed the CONFIG_NF_NAT_REDIRECT option to a boolean, without prompt, affecting kernel 4.18 onwards. CONFIG_NF_NAT_REDIRECT now can only be selected by

[PATCH v2 4/8] generic: 5.4: make nf nat masquerade in unset state by default

2020-10-21 Thread Yousong Zhou
Upstream linux 5.1 commit d1aca8ab ("netfilter: nat: merge ipv4 and ipv6 masquerade functionality") replaces the following 2 options - CONFIG_NF_NAT_MASQUERADE_IPV4 - CONFIG_NF_NAT_MASQUERADE_IPV6 with CONFIG_NF_NAT_MASQUERADE. The new option is one without prompt and will be selected by

[PATCH v2 1/8] netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_MASQUERADE

2020-10-21 Thread Yousong Zhou
CONFIG_IP_NF_TARGET_MASQUERADE and its counterpart CONFIG_IP6_NF_TARGET_MASQUERADE are "backwards-compat option for the user's convenience" Related commit d22c1755 ("netfilter: fix NAT packaging with kernels 5.2+") Signed-off-by: Yousong Zhou --- include/netfilter.mk | 2 +- 1 file changed, 1

[PATCH v2 6/8] netfilter.mk: add version conditional around CONFIG_NF_NAT_PROTO_GRE

2020-10-21 Thread Yousong Zhou
It was removed in upstream linux commit faec18db ("netfilter: nat: remove l4proto->manip_pkt"). This happened since linux 5.0 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/netfilter.mk b/include/netfilter.mk

[PATCH v2 8/8] netfilter.mk: remove now obsolete kmod nf_nat_redirect

2020-10-21 Thread Yousong Zhou
Now that the minimal kernel version maintained here is 4.19 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/include/netfilter.mk b/include/netfilter.mk index 0c29c0bd04..2c71c07056 100644 --- a/include/netfilter.mk +++

[PATCH v2 3/8] netfilter.mk: add version conditional for nf_nat_ipv4, 6

2020-10-21 Thread Yousong Zhou
The upstream linux commit is 3bf195ae ("netfilter: nat: merge nf_nat_ipv4,6 into nat core"). It was included since linux 5.1 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/netfilter.mk b/include/netfilter.mk