commit | 5815d5e7aae3cc9c5e85af83094d4d6498c3f4fc | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Jul 19 23:02:34 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 20 10:59:41 2012 -0700 |
tree | 68c36b030d6479cdee319db32cdb2ee4d81ee938 | |
parent | 67b95bd78f0de85793bf30835913f6ef784a39b6 [diff] |
tcp: use hash_32() in tcp_metrics 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> Signed-off-by: David S. Miller <davem@davemloft.net>