Re: [patch net-next 2/2] net: sched: fix notifications for action-held chains

2018-08-01 Thread Jiri Pirko
Wed, Aug 01, 2018 at 06:27:28AM CEST, xiyou.wangc...@gmail.com wrote: >On Tue, Jul 31, 2018 at 5:10 AM Jiri Pirko wrote: >> >> From: Jiri Pirko >> >> Chains that only have action references serve as placeholders. >> Until a non-action reference is created, user should not be aware >> of the chain

Re: [patch net-next 2/2] net: sched: fix notifications for action-held chains

2018-07-31 Thread Cong Wang
On Tue, Jul 31, 2018 at 5:10 AM Jiri Pirko wrote: > > From: Jiri Pirko > > 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 notificati

[patch net-next 2/2] net: sched: fix notifications for action-held chains

2018-07-31 Thread Jiri Pirko
From: Jiri Pirko 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-