[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpXQXwwRvzuCpkrBY6cwgi8vX1mymy_ca3H4rfjrAha58Q@mail.gmail.com>
Date: Fri, 28 Sep 2018 11:29:36 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Ido Schimmel <idosch@...sch.org>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
Jiri Pirko <jiri@...nulli.us>,
Jamal Hadi Salim <jhs@...atatu.com>,
Vlad Buslov <vladbu@...lanox.com>
Subject: Re: [Patch net-next v3] net_sched: change tcf_del_walker() to take idrinfo->lock
On Fri, Sep 28, 2018 at 11:11 AM Ido Schimmel <idosch@...sch.org> wrote:
> I don't think this will work given the reference count already dropped
> to 0, which is why the template deletion function was invoked. I didn't
> test the patch, but I don't see what would prevent the chain from being
> freed.
Good catch! So I should just "move" tcf_chain_destroy() into cls_flower.
A patch is being compiled now.
Powered by blists - more mailing lists