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

From: Herbert Xu
Date: Mon Sep 26 2022 - 04:37:49 EST


On Mon, Sep 26, 2022 at 10:31:39AM +0200, Florian Westphal wrote:
>
> This patch is partial revert of
> commit 93f976b5190d ("lib/rhashtable: simplify bucket_table_alloc()"),
> to avoid kvmalloc for ATOMIC case.

This patch should just be reverted. If kvzalloc fails we should
definitely know about it.

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