summaryrefslogtreecommitdiff
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2017-12-07 09:56:23 -0800
committerDavid S. Miller <davem@davemloft.net>2017-12-08 13:32:26 -0500
commit70e57d5e3f8ec7c482b92ef43e543d87134689ab (patch)
tree574a46df7886ade0d7f16d327de97dacfea3b9e2 /include/net/sch_generic.h
parent7bbde83b1860c28a1cc35516352c4e7e5172c29a (diff)
downloadlwn-70e57d5e3f8ec7c482b92ef43e543d87134689ab.tar.gz
lwn-70e57d5e3f8ec7c482b92ef43e543d87134689ab.zip
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/net/sch_generic.h')
-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 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;