On Tue, Jul 31, 2018 at 5:10 AM Jiri Pirko <j...@resnulli.us> wrote: > > From: Jiri Pirko <j...@mellanox.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.wangc...@gmail.com> > Signed-off-by: Jiri Pirko <j...@mellanox.com>
I think __tcf_chain_{get,put}() can be static. Other than that, Acked-by: Cong Wang <xiyou.wangc...@gmail.com> Thanks.