Re: [LEDE-DEV] [UBUS] [PATCH] Issue of msgbuf_data_len in ubus_context

2016-06-22 Thread Alexandru Ardelean
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 > >

Re: [LEDE-DEV] [UBUS] [PATCH] Issue of msgbuf_data_len in ubus_context

2016-06-18 Thread Wang Linetkux
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 --- a/libubus-io.c +++ b/libubus-io.c @@ -259,6 +259,7 @@ static bool alloc_msg_buf(struct

[LEDE-DEV] [UBUS] [PATCH] Issue of msgbuf_data_len in ubus_context

2016-06-18 Thread Wang Linetkux
Hi, Guys Since I cannot find other places to send this patch, so I send it here, and hope it does not bother you. "alloc_msg_buf" function in "ubus/libubus-io.c" has the feature that expand or shrink msg buffer when necessary. But I have noticed that "msgbuf_data_len" has been properly set