Re: [PATCH net] rhashtable: fix crash due to mm api change

From: Herbert Xu
Date: Tue Sep 27 2022 - 03:04:53 EST


On Mon, Sep 26, 2022 at 12:24:56PM +0200, Florian Westphal wrote:
.
> In memory allocation failure, there is no bug, so nothing to fix,
> so WARN is useless.

It depends on why it failed. If it failed because we're asking
for something that simply can't be fulfilled then sure. But if
we're asking for something sane and kvzalloc still failed it then
we should know about it.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt