summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-17 13:03:43 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-18 04:21:32 +0200
commit93245dd6d356b864f6676396a9f3edecbd378ed0 (patch)
tree8854a99fa12d30b1606e4d5c0bb3bbaae54fd6b5 /include/net
parentpkt_sched: Add multiqueue handling to qdisc_graft(). (diff)
downloadlinux-93245dd6d356b864f6676396a9f3edecbd378ed0.tar.xz
linux-93245dd6d356b864f6676396a9f3edecbd378ed0.zip
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')
-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 2902a42564f0..0a158ff4de12 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)