diff options
author | Cong Wang <cwang@twopensource.com> | 2014-07-16 14:25:31 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-20 20:31:42 -0700 |
commit | 224e923cd9b001c612b7b68933264156271722f9 (patch) | |
tree | 0b1d32fe64e7157ac362a4d5778c9aae0cf5bfad /drivers/net/bonding/bond_main.c | |
parent | e81fbf6cd65247e6c65719eacf2af5856db3d5a9 (diff) | |
download | lwn-224e923cd9b001c612b7b68933264156271722f9.tar.gz lwn-224e923cd9b001c612b7b68933264156271722f9.zip |
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>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions