From: Felix Fietkau Date: Thu, 3 Jan 2013 15:32:25 +0000 (+0100) Subject: ustream: increment receive buffer count X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=commitdiff_plain;h=8686989fffaf8041889edbe5319581bc0fa8c847 ustream: increment receive buffer count Signed-off-by: Felix Fietkau --- diff --git a/ustream.c b/ustream.c index 9c61806..719af99 100644 --- a/ustream.c +++ b/ustream.c @@ -37,6 +37,7 @@ static void ustream_init_buf(struct ustream_buf *buf, int len) static void ustream_add_buf(struct ustream_buf_list *l, struct ustream_buf *buf) { + l->buffers++; if (!l->tail) l->head = buf; else