hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/sched/sch_plug.c
....@@ -1,10 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * 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.
84 *
95 * There are two ways to use this qdisc:
106 * 1. A simple "instantaneous" plug/unplug operation, by issuing an alternating
....@@ -214,7 +210,7 @@
214210 .priv_size = sizeof(struct plug_sched_data),
215211 .enqueue = plug_enqueue,
216212 .dequeue = plug_dequeue,
217
- .peek = qdisc_peek_head,
213
+ .peek = qdisc_peek_dequeued,
218214 .init = plug_init,
219215 .change = plug_change,
220216 .reset = qdisc_reset_queue,