net: sched: use skb list for skb_bad_tx
authorJohn Fastabend <john.fastabend@gmail.com>
Thu, 7 Dec 2017 17:56:23 +0000 (09:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Dec 2017 18:32:26 +0000 (13:32 -0500)
commit70e57d5e3f8ec7c482b92ef43e543d87134689ab
tree574a46df7886ade0d7f16d327de97dacfea3b9e2
parent7bbde83b1860c28a1cc35516352c4e7e5172c29a
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>
include/net/sch_generic.h
net/sched/sch_generic.c