Searched hist:"9 dbeea7f08f3784b152d9fb3b86beb34aad77c72" (Results 1 – 1 of 1) sorted by relevance
/linux/lib/ |
H A D | rhashtable.c | diff 9dbeea7f08f3784b152d9fb3b86beb34aad77c72 Fri Aug 26 17:51:39 CEST 2016 Eric Dumazet <edumazet@google.com> rhashtable: fix a memory leak in alloc_bucket_locks()
If vmalloc() was successful, do not attempt a kmalloc_array()
Fixes: 4cf0b354d92e ("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>
|