summaryrefslogtreecommitdiffstats
path: root/firmware/emi62
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-07-20 01:02:34 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-20 19:59:41 +0200
commit5815d5e7aae3cc9c5e85af83094d4d6498c3f4fc (patch)
tree68c36b030d6479cdee319db32cdb2ee4d81ee938 /firmware/emi62
parenttcp: Return bool instead of int where appropriate (diff)
downloadlinux-5815d5e7aae3cc9c5e85af83094d4d6498c3f4fc.tar.xz
linux-5815d5e7aae3cc9c5e85af83094d4d6498c3f4fc.zip
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>
Diffstat (limited to 'firmware/emi62')
0 files changed, 0 insertions, 0 deletions