Re: [LEDE-DEV] [PATCH] ubusd: Use linked list for queued messages

2018-05-03 Thread Alexandru Ardelean
On Wed, May 2, 2018 at 11:55 PM, Benjamin Hansmann wrote: > The fixed size array for queuing messages led to discarding messages > when it was full, using a linked list instead solves this issue. > > Having the list_head link in the ubus_msg_buf itself avoids the > allocation of more memory for an

Re: [LEDE-DEV] [PATCH] ubusd: Use linked list for queued messages

2018-05-03 Thread Felix Fietkau
Hi Benjamin, On 2018-05-02 22:55, Benjamin Hansmann wrote: > The fixed size array for queuing messages led to discarding messages > when it was full, using a linked list instead solves this issue. > > Having the list_head link in the ubus_msg_buf itself avoids the > allocation of more memory for

Re: [LEDE-DEV] [PATCH] ubusd: Use linked list for queued messages

2018-05-03 Thread Alexandru Ardelean
On Thu, May 3, 2018 at 12:07 PM, Felix Fietkau wrote: > Hi Benjamin, > > On 2018-05-02 22:55, Benjamin Hansmann wrote: >> The fixed size array for queuing messages led to discarding messages >> when it was full, using a linked list instead solves this issue. >> >> Having the list_head link in the

Re: [LEDE-DEV] [PATCH 2/2] kernel: bump 4.14 to 4.14.38

2018-05-03 Thread Koen Vandeputte
All, Please skip these. It does not apply anymore due to:   "kernel: add missing in6_dev_put_clear call to an ipv6 network patch" Also .. yet another kernel bump was released yesterday .. V2 later on .. Koen ___ Lede-dev mailing list Lede-dev@lists

[LEDE-DEV] [PATCH] ubusd: Use linked list for queued messages (alt.)

2018-05-03 Thread Benjamin Hansmann
The fixed size array for queuing messages led to discarding messages when it was full, using a linked list instead solves this issue. The motivation was that for a recursive "ubus list" the function ubusd_proto.c:ubusd_handle_lookup() produces more than n messages in one uloop cycle when n objects

Re: [LEDE-DEV] [PATCH] ubusd: Use linked list for queued messages

2018-05-03 Thread Benjamin Hansmann
Hi Felix, I understand. I just sent an alternative patch which maintains an independent linked list which I think should circumvent the corruption of the same. This of course introduces some additional memory allocation on the heap. When this shouldn't be an option, what would be your suggestion

Re: [LEDE-DEV] [PATCH v2] dropbear: bump to 2018.76

2018-05-03 Thread Felix Fietkau
On 2018-05-02 17:37, Koen Vandeputte wrote: > Config moved from option.h to localoptions.h > refreshed all patches > > deleted upstreamed patches: > - 010-runtime-maxauthtries.patch > - 610-skip-default-keys-in-custom-runs.patch > > introduced new patch: > - 610-disable-ec-by-default.patch > > T

Re: [LEDE-DEV] octeontx: ieee80211_tx_status: headroom too small

2018-05-03 Thread Enrique Rodríguez Valencia
I've detected that this error only happens when using 4.14 kernel and an ath10k radio that is part of a bridge. If the wireless interface is not part of a bridge, it works correctly and no errors are shown. Maybe this is a kernel related issue? El 04/04/18 a las 15:39, Enrique Rodríguez Val

Re: [LEDE-DEV] [PATCH v2] dropbear: bump to 2018.76

2018-05-03 Thread Felix Fietkau
On 2018-05-03 13:12, Felix Fietkau wrote: > On 2018-05-02 17:37, Koen Vandeputte wrote: >> Config moved from option.h to localoptions.h >> refreshed all patches >> >> deleted upstreamed patches: >> - 010-runtime-maxauthtries.patch >> - 610-skip-default-keys-in-custom-runs.patch >> >> introduced n

Re: [LEDE-DEV] [PATCH v2] dropbear: bump to 2018.76

2018-05-03 Thread Koen Vandeputte
On 03-05-18 14:01, Felix Fietkau wrote: On 2018-05-03 13:12, Felix Fietkau wrote: On 2018-05-02 17:37, Koen Vandeputte wrote: Config moved from option.h to localoptions.h refreshed all patches deleted upstreamed patches: - 010-runtime-maxauthtries.patch - 610-skip-default-keys-in-custom-runs

[LEDE-DEV] [PATCH] kernel: bump kernel 4.4 to 4.4.130 for 17.01

2018-05-03 Thread Etienne Haarsma
* Refreshed patches Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma --- include/kernel-version.mk| 4 ++-- .../patches-4.4/630-packet_socket_type.patch | 16 ...cting-with-source-address-failed-policy.patch | 14 +++-

Re: [LEDE-DEV] [RFC PATCH 0/2] Adjust DHCP/DNS defaults for better consistency

2018-05-03 Thread e9hack
Am 02.05.2018 um 18:02 schrieb Jo-Philipp Wich: > This small patch series changes the default location of various temporary > and automatically generated files used by dnsmasq and odhcpd during normal > operation. If the location of /tmp/hosts/odhcpd and /tmp/dhcp.leases is changed and the config

[LEDE-DEV] [PATCH] kernel: bump kernel 4.4 to 4.4.131 for 17.01

2018-05-03 Thread Etienne Haarsma
* Refreshed patches Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma --- include/kernel-version.mk| 4 ++-- ...03-mtd_fix_cfi_cmdset_0002_status_check.patch | 14 +++--- ...11-mtd-cfi_cmdset_0002-force-word-write.patch | 6 +++--- .../pa

[LEDE-DEV] [PATCH] samba36: fix bug when firstboot without saving config files.

2018-05-03 Thread Rosy Song
When we upgrade firmware(without saving config files), system will reboot and executes switchjffs2() function(see fstools package). During the process of switchjffs2(), the devices(such as /dev/sdaxx, /dev/blockmmcxx) mounted under /mnt dir will lost. This is for patch https://patchwork.