On Wed, Dec 20, 2017 at 12:09 PM, John Fastabend <john.fastab...@gmail.com> wrote: > RCU grace period is needed for lockless qdiscs added in the commit > c5ad119fb6c09 ("net: sched: pfifo_fast use skb_array"). > > It is needed now that qdiscs may be lockless otherwise we risk > free'ing a qdisc that is still in use from datapath. Additionally, > push list cleanup into RCU callback. Otherwise we risk the datapath > adding skbs during removal.
What about qdisc_graft() -> dev_deactivate() -> synchronize_net() ? It doesn't work with your "lockless" patches?