Message ID | 1340911362.13187.183.camel@edumazet-glaptop |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
From: Eric Dumazet <eric.dumazet@gmail.com> Date: Thu, 28 Jun 2012 21:22:42 +0200 > @@ -2412,13 +2412,13 @@ static inline int __dev_xmit_skb(struct sk_buff > *skb, struct Qdisc *q, Looks like your email client clobbered this, please resubmit. Thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/core/dev.c b/net/core/dev.c index 6df2140..d265c67 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2412,13 +2412,13 @@ static inline int __dev_xmit_skb(struct sk_buff *skb, struct Qdisc *q, qdisc_bstats_update(q, skb); - if (sch_direct_xmit(skb, q, dev, txq, root_lock)) { - if (unlikely(contended)) { - spin_unlock(&q->busylock); - contended = false; - } + if (unlikely(contended)) { + spin_unlock(&q->busylock); + contended = false; + } + if (sch_direct_xmit(skb, q, dev, txq, root_lock)) __qdisc_run(q); - } else + else qdisc_run_end(q);