From: Cong Wang Date: Wed, 16 Jul 2014 21:25:31 +0000 (-0700) Subject: net_sched: hold tcf_lock in netdevice notifier X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=224e923cd9b001c612b7b68933264156271722f9;p=pandora-kernel.git 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 Cc: "David S. Miller" Signed-off-by: Cong Wang Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed