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
On Sat, Apr 28, 2018 at 9:55 PM, Daniel Golle wrote:
> Some options' default values have been changed upstream, others were
> accidentally inverted (CONFIG_WOLFSSL_HAS_DES3). Also add options
> needed to build hostapd/wpa_supplicant against wolfssl.
Sorry for the late
On Tue, Apr 3, 2018 at 4:33 PM, Karl Palsson <ka...@tweak.net.au> wrote:
>
> Alexandru Ardelean <ardeleana...@gmail.com> wrote:
>> On Sat, Mar 31, 2018 at 9:45 AM, Hans Dedecker
>> <dedec...@gmail.com> wrote:
>> > On Sat, Mar 31, 2018 at 12:25 AM, Ros
On Sun, Apr 1, 2018 at 5:48 PM, Hauke Mehrtens wrote:
> The next OpenWrt release will use kernel 4.9 and kernel 4.14 depending
> on the target. All targets that are *not* on either kernel 4.9 or 4.14
> will not be included in the next release.
>
> I did some overview of the
On Sat, Mar 31, 2018 at 9:45 AM, Hans Dedecker wrote:
> On Sat, Mar 31, 2018 at 12:25 AM, Rosen Penev wrote:
>> From: Daniel Engberg
>>
>> Update (lib)json-c to 0.13
> What are the changes?
> Is there any size increase ?
>
On Mon, Feb 26, 2018 at 11:25 PM, Rosen Penev wrote:
> Currently, the build system uses an openwrt mirror which does not currently
> workand FTP can be unreliable under several circumstances (Ubuntu 16.04 WSL
> being an example). This change implicitly allows using all the
On Wed, Feb 28, 2018 at 7:07 AM, Yousong Zhou wrote:
> This is intended to reduce build time for situations like the following
> where python and python-six and their dependencies could still be built
> as long as any subpackage within the srcpackage was selected regardless
On Fri, Feb 23, 2018 at 3:48 AM, Rosen Penev wrote:
> Currently, the build system uses an openwrt mirror which does not currently
> workand FTP can be unreliable under several circumstances (Ubuntu 16.04 WSL
> being an example). This change implicitly allows using all the
On Fri, Jan 19, 2018 at 10:09 AM, John Crispin <j...@phrozen.org> wrote:
>
>
> On 19/01/18 08:55, Alexandru Ardelean wrote:
>>
>> On Fri, Jan 19, 2018 at 3:02 AM, Val Kulkov <val.kul...@gmail.com> wrote:
>>>
>>> On 18 January 2018 at 19:49,
On Fri, Jan 19, 2018 at 3:02 AM, Val Kulkov wrote:
> On 18 January 2018 at 19:49, Alberto Bursi wrote:
>>
>>
>>
>> On 01/19/2018 01:05 AM, Val Kulkov wrote:
>>>
>>> There is more than a handful of PRs currently bit-rotting in
>>> openwrt/packages
On Thu, Jan 11, 2018 at 6:28 PM, Jakub Horák wrote:
> Hello LEDE developers,
>
> I found a bug in procd that gets triggered when long lines are printed
> by services whose stdout/stderr are being logged. The bug itself is
> explained in the attached patch.
>
> However,
Hey,
I remember seeing some interest a while back in DPDK.
I started a port of DPDK for some experiment I wanted to do, but in
the meantime I stopped because of reasons.
Here's the current code so far:
https://github.com/commodo/packages/tree/dpdk/net/dpdk
It should build in the current master
The `is_error()` is just a macro that checks
that object is NULL (which is considered an error
in libjson-c terminology).
Newer libjson-c versions have deprecated this.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
handler.c | 2 +-
1 file changed, 1 insertion(+), 1 de
On Fri, Dec 8, 2017 at 4:19 PM, Alexandru Ardelean
<ardeleana...@gmail.com> wrote:
> The `is_error()` is just a macro that checks
> that object is NULL (which is considered an error
> in libjson-c terminology).
>
> Newer libjson-c versions have deprecated this.
I forgot to
The `is_error()` is just a macro that checks
that object is NULL (which is considered an error
in libjson-c terminology).
Newer libjson-c versions have deprecated this.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
handler.c | 2 +-
1 file changed, 1 insertion(+), 1 de
On Sat, Nov 18, 2017 at 3:55 PM, Christian Beier <dontm...@sdf.org> wrote:
> Am Fri, 17 Nov 2017 09:17:39 +0200
> schrieb Alexandru Ardelean <ardeleana...@gmail.com>:
>
>> On Thu, Nov 16, 2017 at 8:52 PM, Christian Beier <dontm...@freeshell.org>
>> wrote:
>
On Thu, Nov 16, 2017 at 8:52 PM, Christian Beier wrote:
> The existing read functionality feeds the complete JSON to jshn as a
> cmdline argument, leading to `-ash: jshn: Argument list too long`
> errors for JSONs bigger than ca. 100KB.
>
> This commit adds the ability to
On Tue, Nov 7, 2017 at 11:18 PM, Arjen de Korte wrote:
> Citeren Rosen Penev :
>
>> I beg to differ. https://vorpus.org/blog/why-does-calloc-exist/
>>
>> Section 2.
>
>
> I don't care about theoretical gains, benchmarks please. How much do you
> gain
On Sat, Sep 9, 2017 at 10:51 PM, Baptiste Jonglez
<bapti...@bitsofnetworks.org> wrote:
> On 09-09-17, Baptiste Jonglez wrote:
>> On 05-09-17, Alexandru Ardelean wrote:
>> > The `proto_add_dynamic_defaults()` seems to be called mostly
>> > in the context of LTE/3G
On Tue, Sep 5, 2017 at 11:05 PM, Hans Dedecker <dedec...@gmail.com> wrote:
> On Tue, Sep 5, 2017 at 1:39 PM, Alexandru Ardelean
> <ardeleana...@gmail.com> wrote:
>> The `proto_add_dynamic_defaults()` seems to be called mostly
>> in the context of LTE/3G mod
that.
ip4table/ip6table are of string type in netifd to allow
for `default`, `local` routing table names to be specified.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
scripts/netifd-proto.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/netifd-proto.sh b/scripts/
Hey,
A while back I opened a PR:
https://github.com/openwrt/packages/pull/4407
Etienne prompted me to try the ML too.
The gist of it is:
g1) LEDE core does not want to package all/certain in-tree kmods
(bloat reasons, which is reasonable)
g2) The `packages` feed would like to have certain
On Thu, Jul 6, 2017 at 4:31 AM, Carlito Nueno wrote:
> Hi all,
>
> I want to customize a small feature in how hostapd responds to probe
> request and I was looking at
> https://github.com/lede-project/source/blob/master/package/network/services/hostapd/src/src/ap/ubus.c
>
Should save a few cycles, since the data that's
being changed is only the seq number.
And the `ub` is always created as shared.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
ubusd_monitor.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff
places, where `ubus_msg_send(,,free=true)`
an explicit `ubus_msg_free()` was added.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
ubusd.c | 8 ++--
ubusd.h | 2 +-
ubusd_event.c | 2 +-
ubusd_monitor.c | 3 ++-
ubusd_proto.c
Semantic has changed a bit.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
ubusd_proto.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ubusd_proto.c b/ubusd_proto.c
index 441d084..b084b86 100644
--- a/ubusd_proto.c
+++ b/ubusd_proto.c
@@ -
On Wed, Jul 5, 2017 at 4:12 PM, Alexandru Ardelean
<ardeleana...@gmail.com> wrote:
> From: Alexandru Ardelean <ardeleana...@gmail.com>
>
> Should save a few cycles, since the data that's
> being changed is only the seq number.
> And the `ub` is always create
From: Alexandru Ardelean <ardeleana...@gmail.com>
Should save a few cycles, since the data that's
being changed is only the seq number.
And the `ub` is always created as shared.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
ubusd_monitor.c | 8 +---
1 fil
On Wed, Jun 7, 2017 at 5:02 PM, Alexandru Ardelean
<ardeleana...@gmail.com> wrote:
> On Wed, Jun 7, 2017 at 4:48 PM, Felix Fietkau <n...@nbd.name> wrote:
>> On 2017-06-07 15:44, Felix Fietkau wrote:
>>> On 2017-06-07 13:09, Alexandru Ardelean wrote:
>>>
On Wed, Jun 7, 2017 at 4:48 PM, Felix Fietkau <n...@nbd.name> wrote:
> On 2017-06-07 15:44, Felix Fietkau wrote:
>> On 2017-06-07 13:09, Alexandru Ardelean wrote:
>>> It's not very often that the tx_queue is used,
>>> to store backlog messages to send to a clien
e tx_queue-ing issue occurs (also due
to socket buffer size).
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
lua/test_many_ubus_entries.lua | 43 ++
1 file changed, 43 insertions(+)
create mode 100755 lua/test_many_ubus_entries.l
writes during the tx_queue-ing (2).
This patch implements (1).
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
ubusd.c | 18 +-
ubusd.h | 6 +++---
ubusd_proto.c | 1 +
3 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/ubusd.c b/u
eep into this ; setting the
`retmsg` object on the client struct seems to have
resolved any hanging with the `ubus list` command.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
ubusd.h | 2 ++
ubusd_proto.c | 35 +++
2 files changed, 25 insertio
On Tue, May 30, 2017 at 8:38 AM, Felix Fietkau wrote:
> On 2017-05-29 09:03, John Crispin wrote:
>> (resend, this time as plain text)
>>
>> Hi,
>>
>> here is a V3 of the remerge proposal, I tried to fold all the comments
>> people made into it, if anything is missing let me know.
On Mon, May 29, 2017 at 10:19 AM, Felix Fietkau <n...@nbd.name> wrote:
> On 2017-05-19 09:45, Alexandru Ardelean wrote:
>> Admittedly, the semantic is a bit different, in the sense
>> that there are no progressive retry timeouts.
>>
>> ubus_auto_connect() us
logic.
This should cleanup the code a bit.
For reference, the `ubus_add_uloop()` call is handled
by ubus_auto_connect() as well.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
ubus.c | 55 +--
1 file changed, 5 insertions(
On Sun, May 14, 2017 at 3:59 AM, Daniel Golle wrote:
> Hi Val,
>
> On Sat, May 13, 2017 at 06:23:29PM -0400, Val Kulkov wrote:
>> Is there any convention on the use of uid and gid when creating new
>> users or groups? Can someone point me to it, if it exists?
>>
>> I
to support setting it if needed/configured.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
libopkg/opkg_conf.c | 1 +
libopkg/opkg_conf.h | 1 +
libopkg/opkg_download.c | 5 -
src/opkg-cl.c | 7 +++
4 files changed, 13 insertions(+), 1 deletion(-)
diff
On Thu, May 11, 2017 at 6:42 PM, Jo-Philipp Wich wrote:
> Hi,
>
> comments inline.
>
>> ---
>> libopkg/opkg_conf.c | 1 +
>> libopkg/opkg_conf.h | 1 +
>> libopkg/opkg_download.c | 5 -
>> src/opkg-cl.c | 6 ++
>> 4 files changed, 12 insertions(+), 1
to support setting it if needed/configured.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
libopkg/opkg_conf.c | 1 +
libopkg/opkg_conf.h | 1 +
libopkg/opkg_download.c | 5 -
src/opkg-cl.c | 6 ++
4 files changed, 12 insertions(+), 1 deletion(-)
diff
to support setting it if needed/configured.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
libopkg/opkg_conf.c | 1 +
libopkg/opkg_conf.h | 1 +
libopkg/opkg_download.c | 5 -
src/opkg-cl.c | 6 ++
4 files changed, 12 insertions(+), 1 deletion(-)
diff
Hey,
You can also Reject your patch here:
http://patchwork.ozlabs.org/project/lede/list/
Specifically, this patch is:
http://patchwork.ozlabs.org/patch/756400/
And [for reference] you can see all patches submitted by you [from
your email account]:
On Sun, Apr 16, 2017 at 1:47 AM, Jay Carlson <n...@nop.com> wrote:
>
>> On Apr 15, 2017, at 1:57 AM, Alexandru Ardelean <ardeleana...@gmail.com>
>> wrote:
>>
>> On Sat, 15 Apr 2017 at 02:01, Jay Carlson <n...@nop.com> wrote:
>>
>>> I’v
, and it would restart
the service.
[ New semantic ]
The default reload hook calls restart.
Services can implement their own reload.
If reload fails, then the '/etc/init.d/ reload'
would return a non-zero code, and the caller can choose
a way to handle this.
Signed-off-by: Alexandru Ardelean
On Tue, Mar 28, 2017 at 11:36 PM, Hans Dedecker <dedec...@gmail.com> wrote:
> On Mon, Mar 20, 2017 at 3:08 PM, Alexandru Ardelean
> <ardeleana...@gmail.com> wrote:
>> From: Alexandru Ardelean <ardeleana...@gmail.com>
>>
>> Traditionally if a reload
On Tue, Mar 28, 2017 at 1:45 AM, txt.file wrote:
> The topic and patch is about OpenSSL but description is about OpenSSH.
> What has OpenSSL to do with OpenSSH?
>
> kind regards
> txt.file
> --
> This message is signed.
>
> Rosen Penev:
>> The commit that removed no-ripemd
or missing for /etc/config/network.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
config.c | 10 --
config.h | 2 +-
main.c | 4 ++--
netifd.h | 2 +-
ubus.c | 5 +++--
5 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/config.c b/config.c
On Sun, Mar 26, 2017 at 7:06 PM, Hans Dedecker <dedec...@gmail.com> wrote:
> On Mon, Mar 20, 2017 at 3:08 PM, Alexandru Ardelean
> <ardeleana...@gmail.com> wrote:
>> From: Alexandru Ardelean <ardeleana...@gmail.com>
>>
>> The context is that we generat
On Mon, Mar 20, 2017 at 4:08 PM, Alexandru Ardelean
<ardeleana...@gmail.com> wrote:
> From: Alexandru Ardelean <ardeleana...@gmail.com>
>
> The context is that we generate some of the UCI config
> for netifd via scripts/programs.
>
> Every once in a while, there'
From: Alexandru Ardelean <ardeleana...@gmail.com>
We just want netifd to return a non-zero err-code.
Reload has failed, a restart will not make it better necessarily.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
package/network/config/netifd/files/etc/init.d/networ
From: Alexandru Ardelean <ardeleana...@gmail.com>
The context is that we generate some of the UCI config
for netifd via scripts/programs.
Every once in a while, there's a goof when doing that
UCI generation, and netifd prints out the error at
stderr, but returns 0 (success) er
From: Alexandru Ardelean <ardeleana...@gmail.com>
Traditionally if a reload script fails, it will fallback to restart.
That seems to be the default behavior in case no reload
handler has been specified, and `reload` will return 1.
That also has the disadvantage of masking reload error
I'd just add an opinion here.
Please take it as such.
I think with Kodi [ specifically ] it's one of those
sugar-features/packages that could be interesting for tinker-ers to
try out when trying LEDE/OpenWrt.
Not sure how intensive it would be on the build infrastructure.
If you decide to
-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
config.c | 10 --
config.h | 2 +-
main.c | 4 ++--
netifd.h | 2 +-
ubus.c | 5 +++--
5 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/config.c b/config.c
index 0d965d3..d70747c 100644
--- a/config.c
+++
-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
config.c | 10 --
config.h | 2 +-
main.c | 4 ++--
netifd.h | 2 +-
ubus.c | 3 +--
5 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/config.c b/config.c
index 0d965d3..d70747c 100644
--- a/config.c
+++
-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
config.c | 10 --
config.h | 2 +-
main.c | 4 ++--
netifd.h | 2 +-
ubus.c | 3 +--
5 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/config.c b/config.c
index 0d965d3..d70747c 100644
--- a/config.c
+++
Hey Mauro,
Your case seems a bit specific.
But I guess you can try a few things and inspire yourself from
include/kernel-version.mk
https://github.com/lede-project/source/blob/master/include/kernel-version.mk
Not sure if the KERNEL_BASE variable is what you need.
i.e. I can't tell what the
On Tue, Dec 13, 2016 at 9:52 AM, Felix Fietkau <n...@nbd.name> wrote:
> On 2016-12-13 08:41, Alexandru Ardelean wrote:
>> Every once in a while, we'll get stacktrace:
>> ```
>> (gdb) bt
>> \#0 0xb7bc4668 in _list_del (entry=0x10015688 <conn+116>) at
&g
t the list element of the `timer` of
the `ubus_auto_conn` struct.
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
libubus.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libubus.c b/libubus.c
index 8163ff7..faa30d3 100644
--- a/libubus.c
+++ b/libubus.c
@@ -337
On Sun, Nov 13, 2016 at 10:47 PM, Giuseppe Lippolis
wrote:
> From: Álvaro Fernández Rojas
>
> Refresh patches for all targets that support kernel 4.4.
> compile/run-tested on brcm2708/bcm2710 only.
>
> Signed-off-by: Álvaro Fernández Rojas
On Mon, Oct 31, 2016 at 12:36 AM, Torbjorn Jansson
wrote:
> On 2016-10-29 20:00, Torbjorn Jansson wrote:
>>
>> Hello
>>
>> looks like there are lots of broken packages currently.
>> was going to install i2c-tools but it looks like it failed with lots of
>>
On Tue, Oct 18, 2016 at 2:09 PM, Zefir Kurtisi
wrote:
>
> Hi,
>
> to those understanding the package dependency logic by heart, I'm trying to
> achieve something I assumed to be common, but fail to get there with the help
> of
> the available documentation.
>
> The
On Fri, Oct 7, 2016 at 3:09 PM, Felix Fietkau wrote:
> On 2016-10-07 13:57, Zefir Kurtisi wrote:
>> In ubus_cli_wait_for() there is a critical section between
>> initially checking for the requested services and the
>> following handling of 'ubus.object.add' events.
>>
>> In our
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
log/syslog.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/log/syslog.c b/log/syslog.c
index e8b6774..ac4f1ae 100644
--- a/log/syslog.c
+++ b/log/syslog.c
@@ -300,4 +300,6 @@ log_shutdown(void)
close(slog
Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
---
log/logd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/log/logd.c b/log/logd.c
index 58a1dec..0175a5c 100644
--- a/log/logd.c
+++ b/log/logd.c
@@ -226,6 +226,7 @@ main(int argc, char **argv)
ulo
On Wed, Sep 14, 2016 at 8:51 PM, Dave Taht wrote:
> recently a whole bunch of posts went around on network world,
> slashdot, and elsewhere, about how to go about disabling or dimming
> the leds.
>
>
On Sun, Jun 19, 2016 at 7:21 AM, Wang Linetkux wrote:
> Sorry, forgot to paste the patch in the email for easy reading.
>
> ---
>
> libubus-io.c | 1 +
>
> 1 file changed, 1 insertion(+)
>
>
>
> diff --git a/libubus-io.c b/libubus-io.c
>
> index 9320bf3..0582ff7 100644
>
>
On Fri, Jun 3, 2016 at 2:27 PM, Conor O'Gorman wrote:
> On 03/06/16 11:59, Dan Bugnar wrote:
>>
>> From: Dan Bugnar
>>
>> The next message needs to be written after the data of current message.
>> This was adding "sizeof(struct log_head)" bytes between
://david.woodhou.se/email.html
===
-- Forwarded message --
From: Alexandru Ardelean <ardeleana...@gmail.com>
Date: Sat, May 14, 2016 at 11:05 AM
Subject: Re: [LEDE-DEV] [PATCH 2/2] [ubox] logd: add ubus reload method
To: David Lang <da..
On Thu, May 12, 2016 at 3:09 PM, Dan Bugnar wrote:
> From: Dan Bugnar
>
> Change the log buffer size and copy the messages.
>
> Signed-off-by: Dan Bugnar
> ---
> log/syslog.c | 37 +++--
> log/syslog.h
et> [13.05.2016 11:52]:
>>>>
>>>> On 13/05/16 07:23, Alexandru Ardelean wrote:
>>>>>
>>>>> Short version is: we have a configuration management system on top of
>>>>> OpenWrt ; system boots with default settings (on every boot), a
On Fri, May 13, 2016 at 12:14 AM, Karl Palsson <ka...@tweak.net.au> wrote:
>
> Alexandru Ardelean <ardeleana...@gmail.com> wrote:
>>
>> Changing the log size dynamically at runtime is a use case that
>> we have.
>
> I'm sorry, but can you talk to me like
On Thu, May 12, 2016 at 5:30 PM, Karl Palsson wrote:
>
>
> Dan Bugnar wrote:
> > From: Dan Bugnar
> >
> > Add logd link to uci library, to read the system config file
> > and get the buffer size. Remove the -S option support and use
>
73 matches
Mail list logo