[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190204162104.GB11362@nanopsycho>
Date: Mon, 4 Feb 2019 17:21:04 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Vlad Buslov <vladbu@...lanox.com>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
davem@...emloft.net, ast@...nel.org, daniel@...earbox.net
Subject: Re: [PATCH net-next v3 02/16] net: sched: refactor tc_ctl_chain() to
use block->lock
Mon, Feb 04, 2019 at 01:32:47PM CET, vladbu@...lanox.com wrote:
>In order to remove dependency on rtnl lock, modify chain API to use
>block->lock to protect chain from concurrent modification. Rearrange
>tc_ctl_chain() code to call tcf_chain_hold() while holding block->lock to
>prevent concurrent chain removal.
>
>Signed-off-by: Vlad Buslov <vladbu@...lanox.com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists