[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140720.203156.1796370394623829208.davem@davemloft.net>
Date: Sun, 20 Jul 2014 20:31:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, jhs@...atatu.com, cwang@...pensource.com
Subject: Re: [Patch net-next] net_sched: hold tcf_lock in netdevice notifier
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Wed, 16 Jul 2014 14:25:31 -0700
> From: Cong Wang <cwang@...pensource.com>
>
> 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@...atatu.com>
> Cc: "David S. Miller" <davem@...emloft.net>
> Signed-off-by: Cong Wang <cwang@...pensource.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied, thanks Cong.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists