[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180908.101843.1831033373502777022.davem@davemloft.net>
Date: Sat, 08 Sep 2018 10:18:43 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vladbu@...lanox.com
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us
Subject: Re: [PATCH net-next] net: sched: act_nat: remove dependency on
rtnl lock
From: Vlad Buslov <vladbu@...lanox.com>
Date: Mon, 3 Sep 2018 10:09:20 +0300
> According to the new locking rule, we have to take tcf_lock for both
> ->init() and ->dump(), as RTNL will be removed.
>
> Use tcf spinlock to protect private nat action data from concurrent
> modification during dump. (nat init already uses tcf spinlock when changing
> action state)
>
> Signed-off-by: Vlad Buslov <vladbu@...lanox.com>
Also applied, thanks.
Powered by blists - more mailing lists