mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 12:46:17 +00:00
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>
This commit is contained in:
parent
99194cff39
commit
93245dd6d3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue