[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160815.111046.654025349514800255.davem@davemloft.net>
Date: Mon, 15 Aug 2016 11:10:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vegard.nossum@...cle.com
Cc: tgraf@...g.ch, netdev@...r.kernel.org, herbert@...dor.apana.org.au
Subject: Re: [PATCH] rhashtable: fix shift by 64 when shrinking
From: Vegard Nossum <vegard.nossum@...cle.com>
Date: Fri, 12 Aug 2016 20:10:44 +0200
> I got this:
...
> roundup_pow_of_two() is undefined when called with an argument of 0, so
> let's avoid the call and just fall back to ht->p.min_size (which should
> never be smaller than HASH_MIN_SIZE).
>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> Signed-off-by: Vegard Nossum <vegard.nossum@...cle.com>
Applied, thank you.
Powered by blists - more mailing lists