[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 9 Sep 2018 08:51:06 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Al Viro <viro@...IV.linux.org.uk>, netdev@...r.kernel.org
Cc: Cong Wang <xiyou.wangcong@...il.com>, Jiri Pirko <jiri@...nulli.us>
Subject: Re: [PATCH net 13/13] net: sched: cls_u32: simplify the hell out
u32_delete() emptiness check
On 2018-09-08 9:31 p.m., Al Viro wrote:
> From: Al Viro <viro@...iv.linux.org.uk>
>
> Now that we have the knode count, we can instantly check if
> any hnodes are non-empty. And that kills the check for extra
> references to root hnode - those could happen only if there was
> a knode to carry such a link.
>
> Signed-off-by: Al Viro <viro@...iv.linux.org.uk>
Acked-by: Jamal Hadi Salim <jhs@...atatu.com>
cheers,
jamal
Powered by blists - more mailing lists