ustream: increment receive buffer count

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
Felix Fietkau 2013-01-03 16:32:25 +01:00
parent 5bbedafe09
commit 8686989fff

View file

@ -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