Commit f9b29f33 authored by Thomas Graf's avatar Thomas Graf Committed by David S. Miller

[PKT_SCHED]: Initialize lists of builtin qdiscs.

Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5da7eb9c
...@@ -280,6 +280,7 @@ struct Qdisc noop_qdisc = { ...@@ -280,6 +280,7 @@ struct Qdisc noop_qdisc = {
.dequeue = noop_dequeue, .dequeue = noop_dequeue,
.flags = TCQ_F_BUILTIN, .flags = TCQ_F_BUILTIN,
.ops = &noop_qdisc_ops, .ops = &noop_qdisc_ops,
.list = LIST_HEAD_INIT(noop_qdisc.list),
}; };
struct Qdisc_ops noqueue_qdisc_ops = { struct Qdisc_ops noqueue_qdisc_ops = {
...@@ -298,6 +299,7 @@ struct Qdisc noqueue_qdisc = { ...@@ -298,6 +299,7 @@ struct Qdisc noqueue_qdisc = {
.dequeue = noop_dequeue, .dequeue = noop_dequeue,
.flags = TCQ_F_BUILTIN, .flags = TCQ_F_BUILTIN,
.ops = &noqueue_qdisc_ops, .ops = &noqueue_qdisc_ops,
.list = LIST_HEAD_INIT(noqueue_qdisc.list),
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment