summaryrefslogtreecommitdiffstats
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-17 04:03:43 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-17 19:21:32 -0700
commit93245dd6d356b864f6676396a9f3edecbd378ed0 (patch)
tree8854a99fa12d30b1606e4d5c0bb3bbaae54fd6b5 /include/net/sch_generic.h
parent99194cff398d056e5ee469647c294466c246c88a (diff)
downloadop-kernel-dev-93245dd6d356b864f6676396a9f3edecbd378ed0.zip
op-kernel-dev-93245dd6d356b864f6676396a9f3edecbd378ed0.tar.gz
pkt_sched: Don't used locked skb_queue_purge() in __qdisc_reset_queue()
We have to have exclusive access to the given qdisc anyways, so doing even more locking is superfluous. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r--include/net/sch_generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index 2902a42..0a158ff 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -374,7 +374,7 @@ static inline void __qdisc_reset_queue(struct Qdisc *sch,
* We do not know the backlog in bytes of this list, it
* is up to the caller to correct it
*/
- skb_queue_purge(list);
+ __skb_queue_purge(list);
}
static inline void qdisc_reset_queue(struct Qdisc *sch)
OpenPOWER on IntegriCloud