Re: [OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-25 Thread Álvaro Fernández Rojas
> As far as I can see, it was returning skb->len. Anyways, the #if needs > to go. It should just use the same code for >= 4.0 and < 4.0 > Also, this patch needs to be split up by functionality. Having > everything in one big patch is harder to review. > > - Felix > Well, the 4.0 code will work o

Re: [OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-25 Thread Rafał Miłecki
On 25 February 2015 at 11:00, Felix Fietkau wrote: > On 2015-02-25 06:07, Rafał Miłecki wrote: >> On 24 February 2015 at 16:29, Álvaro Fernández Rojas >> wrote: >>> --- a/target/linux/generic/files/drivers/net/phy/swconfig.c >>> +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c >>> @@

Re: [OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-25 Thread Felix Fietkau
On 2015-02-25 06:07, Rafał Miłecki wrote: > On 24 February 2015 at 16:29, Álvaro Fernández Rojas > wrote: >> --- a/target/linux/generic/files/drivers/net/phy/swconfig.c >> +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c >> @@ -396,7 +396,12 @@ swconfig_dump_attr(struct swconfig_callba

Re: [OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-24 Thread Rafał Miłecki
On 24 February 2015 at 16:29, Álvaro Fernández Rojas wrote: > --- a/target/linux/generic/files/drivers/net/phy/swconfig.c > +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c > @@ -396,7 +396,12 @@ swconfig_dump_attr(struct swconfig_callback *cb, void > *arg) > op

Re: [OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-24 Thread Rafał Miłecki
On 24 February 2015 at 16:29, Álvaro Fernández Rojas wrote: > diff --git a/include/kernel.mk b/include/kernel.mk > index e21d53a..18cb133 100644 > --- a/include/kernel.mk > +++ b/include/kernel.mk > @@ -52,7 +52,11 @@ else >LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.xz >TESTING:=$(if $(finds

[OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-24 Thread Álvaro Fernández Rojas
- support linux 4.0 downloads - fix and refresh linux 4.0 patches - add missing linux 4.0 symbols - swconfig: fix linux 4.0 build issues - netfilter: fix nf_nat_redirect dependencies for 3.19 and 4.0 Signed-off-by: Álvaro Fernández Rojas --- include/kernel.mk |