Cong Wang 224e923cd9 net_sched: hold tcf_lock in netdevice notifier
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.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-20 20:31:42 -07:00
..
2011-01-19 23:31:12 -08:00
2013-10-18 16:23:06 -04:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2014-01-06 15:13:01 -05:00
2014-01-06 15:13:01 -05:00
2014-06-05 00:49:51 -07:00
2012-04-01 18:11:37 -04:00
2014-06-05 00:49:51 -07:00
2014-06-05 00:49:51 -07:00
2014-07-01 14:20:32 -07:00
2014-06-05 00:49:51 -07:00
2014-06-05 00:49:51 -07:00
2014-02-13 18:29:58 -05:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2014-06-05 00:49:51 -07:00