]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
netem: Include <linux/prandom.h> in sch_netem.c
authorUros Bizjak <ubizjak@gmail.com>
Mon, 30 Sep 2024 12:33:28 +0000 (14:33 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 3 Oct 2024 16:20:31 +0000 (18:20 +0200)
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@gmail.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
net/sched/sch_netem.c

index 39382ee1e33108fb0f495c4c858e28e4f06759a0..fe6fed291a7b8697aa204782561cc45568269e8c 100644 (file)
@@ -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>