Re: [OpenWrt-Devel] [PATCH 5/5] ustream: call notify_write() when bytes are written.

2014-12-11 Thread Yousong Zhou
On 12 December 2014 at 00:36, Felix Fietkau wrote: > On 2014-11-11 11:51, Yousong Zhou wrote: >> >> Signed-off-by: Yousong Zhou > The idea behind the notify_write callback was to notify callers of > buffers being drained. What's the intended use case for this patch? Thank you, I see the design p

Re: [OpenWrt-Devel] [PATCH 5/5] ustream: call notify_write() when bytes are written.

2014-12-11 Thread Felix Fietkau
On 2014-11-11 11:51, Yousong Zhou wrote: > > Signed-off-by: Yousong Zhou The idea behind the notify_write callback was to notify callers of buffers being drained. What's the intended use case for this patch? - Felix ___ openwrt-devel mailing list openw

[OpenWrt-Devel] [PATCH 5/5] ustream: call notify_write() when bytes are written.

2014-12-07 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- ustream.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/ustream.c b/ustream.c index 64cdc6a..1d0c38e 100644 --- a/ustream.c +++ b/ustream.c @@ -364,6 +364,17 @@ static void ustream_write_error(struct ustream *s)