projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99194cf
)
pkt_sched: Don't used locked skb_queue_purge() in __qdisc_reset_queue()
author
David S. Miller
<davem@davemloft.net>
Thu, 17 Jul 2008 11:03:43 +0000
(
04:03
-0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 18 Jul 2008 02:21:32 +0000
(19:21 -0700)
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>
include/net/sch_generic.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/sch_generic.h
b/include/net/sch_generic.h
index 2902a42564f0b707e0220b29a52aacf7058ec469..0a158ff4de12623822be2dc6124dafe431c837d5 100644
(file)
--- 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)