| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * net/sched/sch_skbprio.c SKB Priority Queue. |
|---|
| 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 | * Authors: Nishanth Devarajan, <ndev2021@gmail.com> |
|---|
| 10 | 6 | * Cody Doucette, <doucette@bu.edu> |
|---|
| .. | .. |
|---|
| 216 | 212 | { |
|---|
| 217 | 213 | struct skbprio_sched_data *q = qdisc_priv(sch); |
|---|
| 218 | 214 | int prio; |
|---|
| 219 | | - |
|---|
| 220 | | - sch->qstats.backlog = 0; |
|---|
| 221 | | - sch->q.qlen = 0; |
|---|
| 222 | 215 | |
|---|
| 223 | 216 | for (prio = 0; prio < SKBPRIO_MAX_PRIORITY; prio++) |
|---|
| 224 | 217 | __skb_queue_purge(&q->qdiscs[prio]); |
|---|