Home
last modified time | relevance | path

Searched hist:"5815 d5e7aae3cc9c5e85af83094d4d6498c3f4fc" (Results 1 – 2 of 2) sorted by relevance

/linux/net/ipv4/
H A Dtcp_metrics.cdiff 5815d5e7aae3cc9c5e85af83094d4d6498c3f4fc Fri Jul 20 01:02:34 CEST 2012 Eric Dumazet <edumazet@google.com> 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>
/linux/include/net/netns/
H A Dipv4.hdiff 5815d5e7aae3cc9c5e85af83094d4d6498c3f4fc Fri Jul 20 01:02:34 CEST 2012 Eric Dumazet <edumazet@google.com> 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>