diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-05-25 04:40:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-03 09:31:56 +0900 |
commit | b262a5da755cc6ed0cb4fba230cd9bf4037e1096 (patch) | |
tree | f3417db827ffa2d70cb01194710eb81b065a53ef /lib/cpu-notifier-error-inject.c | |
parent | 5e29567e54ba77297911659047184b6d551e38e8 (diff) |
sch_sfq: fix peek() implementation
[ Upstream commit 07bd8df5df4369487812bf85a237322ff3569b77 ]
Since commit eeaeb068f139 (sch_sfq: allow big packets and be fair),
sfq_peek() can return a different skb that would be normally dequeued by
sfq_dequeue() [ if current slot->allot is negative ]
Use generic qdisc_peek_dequeued() instead of custom implementation, to
get consistent result.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Jarek Poplawski <jarkao2@gmail.com>
CC: Patrick McHardy <kaber@trash.net>
CC: Jesper Dangaard Brouer <hawk@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions