Subject: Re: [Patch net-next] net_sched: hold tcf_lock in netdevice notifier

From: Jamal Hadi Salim <[email-masked]>
Date: Thu, 17 Jul 2014 08:49:57 -0400

On 07/16/14 17:25, Cong Wang wrote:
> From: Cong Wang <[email-masked]>
>
> We modify mirred action (m->tcfm_dev) in netdev event, we need to
> prevent on-going mirred actions from reading freed m->tcfm_dev.
> So we need to acquire this spin lock.
>

Cong,

What setup prompted this? We have no problems dealing with deleted
devices in the data path. It seems harmless otherwise.

cheers,
jamal