]> git.openpandora.org Git - pandora-kernel.git/commitdiff
sfq: fix slot_dequeue_head()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 31 Dec 2010 20:48:55 +0000 (12:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Dec 2010 20:48:55 +0000 (12:48 -0800)
slot_dequeue_head() should make sure slot skb chain is correct in both
ways, or we can crash if all possible flows are in use.

Jarek pointed out slot_queue_init() can now be done in sfq_init() once,
instead each time a flow is setup.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_sfq.c

Simple merge