On Thu, Feb 16, 2017 at 10:34 PM, <[email protected]> wrote: > From: Gao Feng <[email protected]> > > The qdisc_stab_lock is used in qdisc_get_stab and qdisc_put_stab. > These two functions are invoked in qdisc_create, qdisc_change, and > qdisc_destroy which run fully under RTNL. > > So it already makes sure only one could access the qdisc_stab_list at > the same time. Then it is unnecessary to use qdisc_stab_lock now.
I posted a (almost) same patch two years ago: http://marc.info/?l=linux-netdev&m=141512383516640&w=2 Forget why it was not accepted at that time.
