Hannes Frederic Sowa 1bbdceef1e inet: convert inet_ehash_secret and ipv6_hash_secret to net_get_random_once
Initialize the ehash and ipv6_hash_secrets with net_get_random_once.

Each compilation unit gets its own secret now:
  ipv4/inet_hashtables.o
  ipv4/udp.o
  ipv6/inet6_hashtables.o
  ipv6/udp.o
  rds/connection.o

The functions still get inlined into the hashing functions. In the fast
path we have at most two (needed in ipv6) if (unlikely(...)).

Cc: Eric Dumazet <edumazet@google.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-19 19:45:35 -04:00
..
2012-11-19 18:59:44 -05:00
2009-02-26 23:39:25 -08:00
2012-01-12 20:05:28 -08:00
2009-02-26 23:39:26 -08:00
2013-03-04 14:12:07 -05:00
2012-07-23 01:01:44 -07:00
2012-10-09 13:57:23 -04:00
2013-03-08 00:35:44 -05:00
2012-08-22 22:52:04 -07:00
2012-08-22 22:52:04 -07:00
2011-07-01 16:16:19 -07:00