[PATCH v3 17/19] netem: Include <linux/prandom.h> in sch_netem.c
Uros Bizjak
ubizjak at gmail.com
Mon Sep 30 12:33:28 UTC 2024
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 <ubizjak at gmail.com>
Cc: Stephen Hemminger <stephen at networkplumber.org>
Cc: Jamal Hadi Salim <jhs at mojatatu.com>
Cc: Cong Wang <xiyou.wangcong at gmail.com>
Cc: Jiri Pirko <jiri at resnulli.us>
Cc: "David S. Miller" <davem at davemloft.net>
Cc: Eric Dumazet <edumazet at google.com>
Cc: Jakub Kicinski <kuba at kernel.org>
Cc: Paolo Abeni <pabeni at redhat.com>
---
net/sched/sch_netem.c | 1 +
1 file changed, 1 insertion(+)
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>
--
2.46.2
More information about the Intel-gfx
mailing list