Thread (2 messages) flat view 2 messages, 2 authors, 2012-07-20

Re: [PATCH net-next] tcp: use hash_32() in tcp_metrics

From: David Miller <davem@davemloft.net>
Date: 2012-07-20 18:00:49

From: Eric Dumazet <redacted>
Date: Fri, 20 Jul 2012 11:02:34 +0200
From: Eric Dumazet <edumazet@google.com>

Fix a missing roundup_pow_of_two(), since tcpmhash_entries is not
guaranteed to be a power of two.

Uses hash_32() instead of custom hash.

tcpmhash_entries should be an unsigned int.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help