diff options
author | François Michel <francois.michel@uclouvain.be> | 2023-08-15 11:23:40 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-17 19:15:06 -0700 |
commit | 3cad70bc74ef8471e30a05a90798904ce8f8feb5 (patch) | |
tree | f27f4197ec501dabebe659449643875005102fff /crypto/hash_info.c | |
parent | 9c87b2aeccf174bce220e527d48391439981273b (diff) |
netem: use seeded PRNG for correlated loss events
Use prandom_u32_state() instead of get_random_u32() to generate
the correlated loss events of netem.
Signed-off-by: François Michel <francois.michel@uclouvain.be>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Link: https://lore.kernel.org/r/20230815092348.1449179-4-francois.michel@uclouvain.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/hash_info.c')
0 files changed, 0 insertions, 0 deletions