Re: [PATCH 02/14] net: sched: change type of reference and bind counters

Marcelo Ricardo Leitner
2018-05-19T21:04:50Z

On Mon, May 14, 2018 at 05:27:03PM +0300, Vlad Buslov wrote:
> Change type of action reference counter to refcount_t.
>
> Change type of action bind counter to atomic_t.
> This type is used to allow decrementing bind counter without testing
> for 0 result.

... and in what does not testing for 0 result helps?

Marcelo