[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpWp52KbTdvSNOX3jQn=Ttp9+CiZ3JkQE51jEfexaoPH6g@mail.gmail.com>
Date: Tue, 31 Jul 2018 21:27:28 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Jamal Hadi Salim <jhs@...atatu.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
mlxsw@...lanox.com
Subject: Re: [patch net-next 2/2] net: sched: fix notifications for
action-held chains
On Tue, Jul 31, 2018 at 5:10 AM Jiri Pirko <jiri@...nulli.us> wrote:
>
> From: Jiri Pirko <jiri@...lanox.com>
>
> Chains that only have action references serve as placeholders.
> Until a non-action reference is created, user should not be aware
> of the chain. Also he should not receive any notifications about it.
> So send notifications for the new chain only in case the chain gets
> the first non-action reference. Symmetrically to that, when
> the last non-action reference is dropped, send the notification about
> deleted chain.
>
> Reported-by: Cong Wang <xiyou.wangcong@...il.com>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
I think __tcf_chain_{get,put}() can be static.
Other than that,
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Thanks.
Powered by blists - more mailing lists