Skip to content

Commit 32b7580

Browse files
ubizjakzx2c4
authored andcommitted
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]>
1 parent 0402779 commit 32b7580

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/sched/sch_netem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <linux/errno.h>
1818
#include <linux/skbuff.h>
1919
#include <linux/vmalloc.h>
20+
#include <linux/prandom.h>
2021
#include <linux/rtnetlink.h>
2122
#include <linux/reciprocal_div.h>
2223
#include <linux/rbtree.h>

0 commit comments

Comments
 (0)