.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * sch_plug.c Queue traffic until an explicit release command |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or |
---|
5 | | - * modify it under the terms of the GNU General Public License |
---|
6 | | - * as published by the Free Software Foundation; either version |
---|
7 | | - * 2 of the License, or (at your option) any later version. |
---|
8 | 4 | * |
---|
9 | 5 | * There are two ways to use this qdisc: |
---|
10 | 6 | * 1. A simple "instantaneous" plug/unplug operation, by issuing an alternating |
---|
.. | .. |
---|
214 | 210 | .priv_size = sizeof(struct plug_sched_data), |
---|
215 | 211 | .enqueue = plug_enqueue, |
---|
216 | 212 | .dequeue = plug_dequeue, |
---|
217 | | - .peek = qdisc_peek_head, |
---|
| 213 | + .peek = qdisc_peek_dequeued, |
---|
218 | 214 | .init = plug_init, |
---|
219 | 215 | .change = plug_change, |
---|
220 | 216 | .reset = qdisc_reset_queue, |
---|