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

Yousong Zhou yszhou4tech at gmail.com
Thu Dec 11 22:48:16 EST 2014

On 12 December 2014 at 00:36, Felix Fietkau <nbd at openwrt.org> wrote:
> On 2014-11-11 11:51, Yousong Zhou wrote:
>> Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
> 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 point now.  Am I right that it's only
intended for writes from the buffer?  I added noitfy_write() call for
each successful s->write() mainly for bookkeeping purposes.  This
patch can be ignored.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list