commit | 46234253b9363894a254844a6550b4cc5f3edfe8 | [log] [tgz] |
---|---|---|
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | Thu Oct 08 01:20:35 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 08 05:26:35 2015 -0700 |
tree | ab3b795f7ff1765d2f7dbb318b5fae08945a0bdf | |
parent | 28335a7445202a3d118145a07d9138e9881ebe18 [diff] |
net: move net_get_random_once to lib There's no good reason why users outside of networking should not be using this facility, f.e. for initializing their seeds. Therefore, make it accessible from there as get_random_once(). Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>