diff options
author | Eric Dumazet | 2014-09-17 17:05:05 +0200 |
---|---|---|
committer | David S. Miller | 2014-09-19 22:32:10 +0200 |
commit | ab34f6480806263d7b4d00fa06d3647bac73b68c (patch) | |
tree | 5429ab1235fdaeb1318b44abb555725f3f36ef37 /net/sched/sch_generic.c | |
parent | Merge branch 'bnx2x-next' (diff) | |
download | kernel-qcow2-linux-ab34f6480806263d7b4d00fa06d3647bac73b68c.tar.gz kernel-qcow2-linux-ab34f6480806263d7b4d00fa06d3647bac73b68c.tar.xz kernel-qcow2-linux-ab34f6480806263d7b4d00fa06d3647bac73b68c.zip |
net: sched: use __skb_queue_head_init() where applicable
pfifo_fast and htb use skb lists, without needing their spinlocks.
(They instead use the standard qdisc lock)
We can use __skb_queue_head_init() instead of skb_queue_head_init()
to be consistent.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_generic.c')
-rw-r--r-- | net/sched/sch_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 346ef85617d3..11b28f651ad1 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c @@ -523,7 +523,7 @@ static int pfifo_fast_init(struct Qdisc *qdisc, struct nlattr *opt) struct pfifo_fast_priv *priv = qdisc_priv(qdisc); for (prio = 0; prio < PFIFO_FAST_BANDS; prio++) - skb_queue_head_init(band2list(priv, prio)); + __skb_queue_head_init(band2list(priv, prio)); /* Can by-pass the queue discipline */ qdisc->flags |= TCQ_F_CAN_BYPASS; |