-
Eric Dumazet authored
If vmalloc() was successful, do not attempt a kmalloc_array() Fixes: 4cf0b354 ("rhashtable: avoid large lock-array allocations") Reported-by:
CAI Qian <caiqian@redhat.com> Signed-off-by:
Eric Dumazet <edumazet@google.com> Cc: Florian Westphal <fw@strlen.de> Acked-by:
Herbert Xu <herbert@gondor.apana.org.au> Tested-by:
CAI Qian <caiqian@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
9dbeea7f