[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190214.094213.483495158232464062.davem@davemloft.net>
Date: Thu, 14 Feb 2019 09:42:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, mlxsw@...lanox.com
Subject: Re: [patch net-next] lib: objagg: fix handling of object with 0
users when assembling hints
From: Jiri Pirko <jiri@...nulli.us>
Date: Thu, 14 Feb 2019 15:39:07 +0100
> From: Jiri Pirko <jiri@...lanox.com>
>
> It is possible that there might be an originally parent object with 0
> direct users that is in hints no longer considered as parent. Then the
> weight of this object is 0 and current code ignores him. That's why the
> total amount of hint objects might be lower than for the original
> objagg and WARN_ON is hit. Fix this be considering 0 weight valid.
>
> Fixes: 9069a3817d82 ("lib: objagg: implement optimization hints assembly and use hints for object creation")
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied, thanks Jiri.
Powered by blists - more mailing lists