diff options
author | Uros Bizjak <[email protected]> | 2024-09-30 14:33:28 +0200 |
---|---|---|
committer | Jason A. Donenfeld <[email protected]> | 2024-10-03 18:20:31 +0200 |
commit | 32b7580be4e5a4236cc1e0ddf403ccd2ddda9525 (patch) | |
tree | 73146b8a4f1ce9db5f87164d2456d0a6083d8828 | |
parent | 0402779aae14d56a7972a83250fd3fe636abaf12 (diff) |
netem: Include <linux/prandom.h> in sch_netem.c
Include <linux/prandom.h> header to allow the removal of legacy
inclusion of <linux/prandom.h> from <linux/random.h>.
Signed-off-by: Uros Bizjak <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Jamal Hadi Salim <[email protected]>
Cc: Cong Wang <[email protected]>
Cc: Jiri Pirko <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Paolo Abeni <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
-rw-r--r-- | net/sched/sch_netem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c index 39382ee1e331..fe6fed291a7b 100644 --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c @@ -17,6 +17,7 @@ #include <linux/errno.h> #include <linux/skbuff.h> #include <linux/vmalloc.h> +#include <linux/prandom.h> #include <linux/rtnetlink.h> #include <linux/reciprocal_div.h> #include <linux/rbtree.h> |