diff options
author | John Fastabend <john.fastabend@gmail.com> | 2017-12-07 20:56:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-08 21:32:26 +0300 |
commit | 70e57d5e3f8ec7c482b92ef43e543d87134689ab (patch) | |
tree | 574a46df7886ade0d7f16d327de97dacfea3b9e2 /include | |
parent | 7bbde83b1860c28a1cc35516352c4e7e5172c29a (diff) | |
download | linux-70e57d5e3f8ec7c482b92ef43e543d87134689ab.tar.xz |
net: sched: use skb list for skb_bad_tx
Similar to how gso is handled use skb list for skb_bad_tx this is
required with lockless qdiscs because we may have multiple cores
attempting to push skbs into skb_bad_tx concurrently
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/sch_generic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 9b9e4feda127..da2528036e2e 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -95,7 +95,7 @@ struct Qdisc { struct gnet_stats_queue qstats; unsigned long state; struct Qdisc *next_sched; - struct sk_buff *skb_bad_txq; + struct sk_buff_head skb_bad_txq; int padded; refcount_t refcnt; |