Re: [PATCH v3 07/11] net: sched: implement reference counted action release

2018-05-28 Thread Marcelo Ricardo Leitner
On Mon, May 28, 2018 at 12:17:25AM +0300, Vlad Buslov wrote: > Implement helper delete function that uses new action ops 'delete', instead > of destroying action directly. This is required so act API could delete > actions by index, without holding any references to action that is being > deleted.

Re: [PATCH v3 07/11] net: sched: implement reference counted action release

2018-05-28 Thread Jiri Pirko
Sun, May 27, 2018 at 11:17:25PM CEST, vla...@mellanox.com wrote: >Implement helper delete function that uses new action ops 'delete', instead >of destroying action directly. This is required so act API could delete >actions by index, without holding any references to action that is being >deleted.

[PATCH v3 07/11] net: sched: implement reference counted action release

2018-05-27 Thread Vlad Buslov
Implement helper delete function that uses new action ops 'delete', instead of destroying action directly. This is required so act API could delete actions by index, without holding any references to action that is being deleted. Implement function __tcf_action_put() that releases reference to act