On Tue, Jul 31, 2018 at 5:10 AM Jiri Pirko <[email protected]> wrote:
>
> From: Jiri Pirko <[email protected]>
>
> 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 <[email protected]>
> Signed-off-by: Jiri Pirko <[email protected]>
I think __tcf_chain_{get,put}() can be static.
Other than that,
Acked-by: Cong Wang <[email protected]>
Thanks.