Re: [OpenWrt-Devel] 090-backport_netfilter_rtcache.patch and IPsec routing/connection errors/packet loss

2014-12-22 Thread Stijn Tintel
On 20-12-14 00:04, Andre Valentin wrote: > Hi! > > If I enable this patch/module, I get strange errors with my OpenWRT based > IPsec router. Packets are accepted and then lost, and not encrypted. Only the > first comes through, especially if stateless > protocolls (udp, icmp) are used. > I notice

[OpenWrt-Devel] [PATCH] kernel/generic: fix warnings if libata-ledtrig is disabled

2014-12-22 Thread Daniel Golle
accidentally #if was used instead of #ifdef, thus gcc warned about CONFIG_ATA_LEDS being undefined... Signed-off-by: Daniel Golle --- target/linux/generic/patches-3.14/834-ledtrig-libata.patch | 10 +- target/linux/generic/patches-3.18/834-ledtrig-libata.patch | 10 +- 2 files ch

[OpenWrt-Devel] [PATCH] kernel: bump to 3.18.1

2014-12-22 Thread Daniel Golle
Signed-off-by: Daniel Golle --- include/kernel-version.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 931d540..2443e64 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -7,14 +7,14 @@ L

Re: [OpenWrt-Devel] [PATCH] mvsw6171: note support for 88E6172 switches

2014-12-22 Thread Nikita Nazarenko
Hello Claudio. 6172 not so similar to 6171 as it may seem. 6172 more similar to 6352/6240/6176 - they described in one functional specification datasheet. For example - any record in VTU _require_ correct STU record. 6171 driver doesn't care about stu. Without it 802.1q vlans doesn't work.

[OpenWrt-Devel] [PATCH 1/2] scripts: fix recursive dependencies that might be caused by using conditional dependencies.

2014-12-22 Thread Yousong Zhou
`kmod-ipt-ipset' has a `DEPENDS' value of `@(!(TARGET_ps3||TARGET_pxcab)||BROKEN)'. Recursive dependency will occur if another package conditionally depends on it with something like `+PACKAGE_dnsmasq_full_ipset:kmod-ipt-ipset' which will produce the following kconfig content. config PACK

[OpenWrt-Devel] [PATCH 2/2] dnsmasq: fix dependency problems of the dnsmasq-full variant.

2014-12-22 Thread Yousong Zhou
This patch tries to - Let the DHCPv6 feature depend on CONFIG_IPV6. - Conditionally select libnettle, kmod-ipv6, kmod-ipt-ipset only if the corresponding features are enabled. - Install `trust-anchors.conf` only if DNSSEC is selected. Big thanks goes to Frank Schäfer for providing necessar

[OpenWrt-Devel] [PATCH fstools] libblkid-tiny: add btrfs probe info

2014-12-22 Thread Daniel Golle
This only adds the magic for btrfs to show btrfs volumes in block detect. In order to properly support btrfs with more than one device and avoid trying to mount the same device group once for each instance we have to make sure that only one device per group will be mounted (btrfs then automaticall

[OpenWrt-Devel] is there something preventing me from watching github openwrt/packages?

2014-12-22 Thread Robert P. J. Day
just tried to "watch" github repo openwrt/packages, the "Watch" selector went to a greyed-out "Unwatch" for several seconds, then i got the error "Something went wrong with that request. Please try again." do i need any special properties on my github account to watch that (or any other openw

[OpenWrt-Devel] [BB] Backport: Fix LED definitions for the DRAGINO2 board

2014-12-22 Thread Vittorio Gambaletta
Backport r42897 to Barrier Breaker. This patch fixes LED definitions for the DRAGINO2 board. 1. It renames the Router/USB led to System, as it is now marked "SYS" on the board. 2. It gives control of the LAN and WAN leds and some other GPIOs to Linux. 3. It fixes the active_low property for the

[OpenWrt-Devel] [PATCH] [v3] hostapd: Add uapsd option to netifd.sh

2014-12-22 Thread Vittorio Gambaletta
The uapsd option sets the uapsd_advertisement_enabled flag in hostapd. The check for phy support is already implemented here in hostapd since 2011: http://w1.fi/cgit/hostap/commit/?id=70619a5d8a3d32faa43d66bcb1b670cacf0c243e So this can be safely set to 1 as default. Signed-off-by: Vittorio Gamb

Re: [OpenWrt-Devel] is there something preventing me from watching github openwrt/packages?

2014-12-22 Thread Steven Barth
You can watch any repository you like. If something goes wrong its probably either github's or your browser's (or its addons') fault. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openw

[OpenWrt-Devel] Introducing "fastpath" - Kernel module for speeding up IP forwarding

2014-12-22 Thread Tomer Eliyahu
Hi, We are software developers, part of Marvell's cellular platform infrastructure team. Our team has been working on a project named "fastpath" for speeding up IP forwarding in embedded systems. The initial version (fastpath v1) has already been successfully deployed in our latest pxa1801 (cellu

Re: [OpenWrt-Devel] Introducing "fastpath" - Kernel module for speeding up IP forwarding

2014-12-22 Thread Felix Fietkau
On 2014-12-22 15:06, Tomer Eliyahu wrote: > Hi, > > We are software developers, part of Marvell's cellular platform > infrastructure team. > > Our team has been working on a project named "fastpath" for speeding > up IP forwarding in embedded systems. > The initial version (fastpath v1) has alrea

[OpenWrt-Devel] [PATCH] netifd: Add mldversion config support

2014-12-22 Thread Hans Dedecker
Config support to set the MLD host version on device level; possible values are : 1 : MLDv1 2 : MLDv2 Signed-off-by: Hans Dedecker --- device.c | 11 +++ device.h | 3 +++ system-dummy.c | 6 ++ system-linux.c | 34 ++ system.h

Re: [OpenWrt-Devel] Introducing "fastpath" - Kernel module for speeding up IP forwarding

2014-12-22 Thread Rafał Miłecki
On 22 December 2014 at 15:06, Tomer Eliyahu wrote: > We are anxious to hear your thoughts/comments and will gladly share the code. So... can we get it? I guess we've just gained open source implementation of the hyper-secret Broadcom's CTF "technology" :P

Re: [OpenWrt-Devel] [PATCH 1/2] scripts: fix recursive dependencies that might be caused by using conditional dependencies.

2014-12-22 Thread Felix Fietkau
On 2014-12-22 11:29, Yousong Zhou wrote: > `kmod-ipt-ipset' has a `DEPENDS' value of > `@(!(TARGET_ps3||TARGET_pxcab)||BROKEN)'. > Recursive dependency will occur if another package conditionally depends > on it with something like `+PACKAGE_dnsmasq_full_ipset:kmod-ipt-ipset' > which will produce

Re: [OpenWrt-Devel] [PATCH 1/3] ustream: add function ustream_read().

2014-12-22 Thread Felix Fietkau
On 2014-12-16 22:15, Yousong Zhou wrote: > It can be used to fill caller specified buffer area with data already in > ustream read buffer. Useful in the following use pattern. > > int available = ustream_pending_data(s, false); > if (available >= sizeof(struct msghdr)) { >

[OpenWrt-Devel] [PATCH] netifd: Handle link down event in interface setup state as well

2014-12-22 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- interface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/interface.c b/interface.c index 4b5405e..83d7f94 100644 --- a/interface.c +++ b/interface.c @@ -271,6 +271,7 @@ interface_check_state(struct interface *iface) switch (iface->state) {

Re: [OpenWrt-Devel] [PATCH 2/3] json_script: fix logic invert of handle_expr_not().

2014-12-22 Thread Felix Fietkau
On 2014-12-16 22:15, Yousong Zhou wrote: > Signed-off-by: Yousong Zhou Applied this one and patch 3/3. Thanks, - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Introducing "fastpath" - Kernel module for speeding up IP forwarding

2014-12-22 Thread Tomer Eliyahu
> Have you considered proposing it for inclusing in Linux upstream as well? Yes - we plan to propose it to netfilter-devel at a later stage, after upgrading to Kernel 3.14 (our kernel is currently based on 3.10), which is required for adding nftables support to fastpath's rules handling. > By the

Re: [OpenWrt-Devel] [PATCH] mvsw6171: note support for 88E6172 switches

2014-12-22 Thread Nikita Nazarenko
This patch is a dirty modification of mv6171 driver and must be merged with it in future. mv6171 and 6172 are similar enough to be merged in one driver. Significant differences: * struct vlan_state in struct mv6172_state contains additional field port_state which contain STU port information.

Re: [OpenWrt-Devel] [PATCH RFC] brcm47xx: support for flashing CHK and CyberTAN images

2014-12-22 Thread Rafał Miłecki
On 15 December 2014 at 13:17, Rafał Miłecki wrote: > This will allow simple sysupgrade-s including simpler reverting to the > original firmware. I guess noone plans to NACK this? :) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://

Re: [OpenWrt-Devel] Introducing "fastpath" - Kernel module for speeding up IP forwarding

2014-12-22 Thread Roman Yeryomin
On 22 December 2014 at 16:06, Tomer Eliyahu wrote: > > Our team has been working on a project named "fastpath" for speeding > up IP forwarding in embedded systems. > The initial version (fastpath v1) has already been successfully > deployed in our latest pxa1801 (cellular modem) based products. >

[OpenWrt-Devel] Kernel 3.15 - zRAM LZ4 Compression

2014-12-22 Thread Fernando Frediani
Perhaps someone have seen this from 3.15 notes that it now supports LZ4 for zRAM Compression which increases the performance even more. Is anyone extensively using it on their BB or CC builds and beleives this would be significantlly benefitial or not that much ? A note from the Kernel release:

Re: [OpenWrt-Devel] Introducing "fastpath" - Kernel module for speeding up IP forwarding

2014-12-22 Thread Ram Marzin
> Did I read it right - it relies on hw (to offload the cpu) but is hw > independent? > Does it mean you support Octeon or Realtek fastpath hw too? No, it does not rely on hardware, it is a pure SW solution. - Ram ___ openwrt-devel mailing list openwrt

Re: [OpenWrt-Devel] Introducing "fastpath" - Kernel module for speeding up IP forwarding

2014-12-22 Thread Hauke Mehrtens
On 12/22/2014 05:43 PM, Ram Marzin wrote: >> Did I read it right - it relies on hw (to offload the cpu) but is hw >> independent? >> Does it mean you support Octeon or Realtek fastpath hw too? > > No, it does not rely on hardware, it is a pure SW solution. > > - Ram Would it be possible to add

[OpenWrt-Devel] [PATCH uqmi] Fix logical expression which is always true

2014-12-22 Thread Sławomir Demeszko
Signed-off-by: Sławomir Demeszko --- commands-wms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands-wms.c b/commands-wms.c index 02874f0..1b4373f 100644 --- a/commands-wms.c +++ b/commands-wms.c @@ -560,7 +560,7 @@ pdu_encode_number(unsigned char *dest, const char *st

[OpenWrt-Devel] backport ubi-utils mirror md5sum

2014-12-22 Thread Alexander Couzens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 hi felix, can you please backport this patch from trunk to bb? it's the same git rev. best, lynxis commit 00704db9750b224f7ad12ed3128660831ca66504 Author: nbd Date: Mon Dec 22 14:32:41 2014 + ubi-utils: add mirror md5sum Signe

Re: [OpenWrt-Devel] backport ubi-utils mirror md5sum

2014-12-22 Thread Felix Fietkau
On 2014-12-22 18:33, Alexander Couzens wrote: > hi felix, > > can you please backport this patch from trunk to bb? > it's the same git rev. Done. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/ma

[OpenWrt-Devel] [PATCH uqmi] Fix improper length of sms message stored in User Data Length field

2014-12-22 Thread Sławomir Demeszko
Signed-off-by: Sławomir Demeszko --- commands-wms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands-wms.c b/commands-wms.c index 1b4373f..798e012 100644 --- a/commands-wms.c +++ b/commands-wms.c @@ -591,7 +591,7 @@ pdu_encode_data(unsigned char *dest, const char *str)

[OpenWrt-Devel] [PATCH] uhttpd: Fix possible memory leaks when generating directory listing

2014-12-22 Thread Andrej Krpic
scandir() call requires free() of each returned dirent structure and parent list. Code constructing HTML response of directory listing is missing a call to free in some cases. Signed-off-by: Andrej Krpic --- file.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fil

[OpenWrt-Devel] [PATCH uqmi] Making smsc number optional

2014-12-22 Thread Sławomir Demeszko
If smsc number is not provided before sending sms then operator's default stored on simcard will be used. Signed-off-by: Sławomir Demeszko --- commands-wms.c | 10 +++--- commands-wms.h | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/commands-wms.c b/commands-wms.c in

Re: [OpenWrt-Devel] [PATCH] uhttpd: Fix possible memory leaks when generating directory listing

2014-12-22 Thread Felix Fietkau
On 2014-12-22 18:55, Andrej Krpic wrote: > scandir() call requires free() of each returned dirent structure > and parent list. Code constructing HTML response of directory > listing is missing a call to free in some cases. > > Signed-off-by: Andrej Krpic Applied, thanks. - Felix

Re: [OpenWrt-Devel] [PATCH uqmi] Making smsc number optional

2014-12-22 Thread Felix Fietkau
On 2014-12-22 19:47, Sławomir Demeszko wrote: > If smsc number is not provided before sending sms then > operator's default stored on simcard will be used. > > Signed-off-by: Sławomir Demeszko Applied all 3, thanks. - Felix ___ openwrt-devel mailing li

Re: [OpenWrt-Devel] [PATCH uqmi] Fix encoding phone number on sending sms

2014-12-22 Thread Felix Fietkau
On 2014-12-18 16:12, Sławomir Demeszko wrote: > Return proper length of encoded phone number with odd count of digits, > without this patch number is encoded in memory but length returned > by function is not incremented and sms cannot be send. > > Signed-off-by: Sławomir Demeszko Applied, thanks

Re: [OpenWrt-Devel] [PATCH v2 4/4] oxnas: sata_oxnas: make irq handler more readable

2014-12-22 Thread Felix Fietkau
On 2014-12-18 18:17, Daniel Golle wrote: > safed one level of indention by using 'continue' instead of a > lengthy if-clause. > > Signed-off-by: Daniel Golle > v2: use logic-AND instead of '?' operator when checking for hw bug 6320 Applied all 4, thanks. - Felix _

Re: [OpenWrt-Devel] [PATCH 1/2] scripts: fix recursive dependencies that might be caused by using conditional dependencies.

2014-12-22 Thread Yousong Zhou
On 22 December 2014 at 22:42, Felix Fietkau wrote: > This doesn't look right to me. It seems to be overwriting $condition. > Did you mean eq instead of =? Should be `=` in this case. But the patch now looks wrong anyway. I will try digging through it. yousong ___

Re: [OpenWrt-Devel] [PATCH 1/2] scripts: fix recursive dependencies that might be caused by using conditional dependencies.

2014-12-22 Thread Yousong Zhou
On 23 December 2014 at 09:38, Yousong Zhou wrote: > Should be `=` in this case. But the patch now looks wrong anyway. I Should be `eq' ! Dizzy in the morning, sorry. > will try digging through it. ___ openwrt-devel mailing list openwrt-devel@lists.o

[OpenWrt-Devel] [PATCH] oxnas: clk-oxnas: rework pllb enable function

2014-12-22 Thread Daniel Golle
kernel lock debugging unveiled that we should not call of_reset_control_get inside a clock's enable operation (see below) move of_reset_control_* previously used in pllb_clk_enable to new pllb_clk_prepare and pllb_clk_unprepare functions. use a container to carry runtime information.

Re: [OpenWrt-Devel] [PATCH 1/1] package: contrib: add smstools3 package

2014-12-22 Thread drEagle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Jiri, Le 21/12/2014 08:48, Jiri Slachta a écrit : > Hello Gerald, > > I would recommend you to resend the patch to the openwrt packages repository > on > github as a pull request. Is there any another method to contribute that using github ?

Re: [OpenWrt-Devel] Linksys WRT54G / 16mb / wifi / lowmem / concurrency

2014-12-22 Thread Bastian Bittorf
* Felix Fietkau [17.12.2014 11:34]: > > there are no problems and even 4000 kb free ram. > > I havent opened a ticket on bugtracker, because it > > is no bug 8-) > Please test if putting http://nbd.name/990-test.patch into > package/kernel/mac80211/patches reduces or fixes these allocation > failu