Re: [OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-08-06 Thread Steven Barth
Hi Florian, I pushed a netifd revision 77a865b5b3ac476e05ff80f3c10d86686285c0da which disables ds-lite, map and gre using ifdefs if IFLA_IPTUN_MAX is not defined in the kernel headers. Could you please check if that does the trick for you (note: I did not bump the netifd-Makefile in trunk

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-08-06 Thread Florian Fainelli
Hi Steven, On 08/06/2014 04:27 AM, Steven Barth wrote: Hi Florian, I pushed a netifd revision 77a865b5b3ac476e05ff80f3c10d86686285c0da which disables ds-lite, map and gre using ifdefs if IFLA_IPTUN_MAX is not defined in the kernel headers. Could you please check if that does the trick

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-08-05 Thread Hans Dedecker
Ok I will provide a patch to cover the earlier Linux kernel versions On Tue, Aug 5, 2014 at 4:26 AM, Florian Fainelli flor...@openwrt.org wrote: On 07/30/14 04:56, Hans Dedecker wrote: Adds support for gre, gretap, grev6 and grev6tap tunnels This commit breaks the build for earlier kernel

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-08-05 Thread Steven Barth
To be fair I introduced IFLA_IPTUN_ stuff earlier with MAP-encapsulation support. My general impression was that we do not care about 3.10 targets any more. So even if Hans provides some patches for GRE it will not help much since MAP-support does the same. Cheers, Steven

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-08-05 Thread Florian Fainelli
On Aug 5, 2014 12:50 AM, Steven Barth cy...@openwrt.org wrote: To be fair I introduced IFLA_IPTUN_ stuff earlier with MAP-encapsulation support. My general impression was that we do not care about 3.10 targets any more. So even if Hans provides some patches for GRE it will not help much since

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-08-04 Thread Florian Fainelli
On 07/30/14 04:56, Hans Dedecker wrote: Adds support for gre, gretap, grev6 and grev6tap tunnels This commit breaks the build for earlier kernel versions which do not have a bunch of IFLA_IPTUN_* missing constants, could you provide a fallback definition for these earlier Linux kernels?

[OpenWrt-Devel] [PATCH 3/3] netifd: GRE tunnel support

2014-07-30 Thread Hans Dedecker
Adds support for gre, gretap, grev6 and grev6tap tunnels Signed-off-by: Hans Dedecker dedec...@gmail.com --- system-dummy.c |2 +- system-linux.c | 190 +--- system.c |1 + system.h |3 +- tunnel.c |2 +- 5