Skip to content

Commit aaedc2f

Browse files
ubizjakzx2c4
authored andcommitted
bpf: Include <linux/prandom.h> instead of <linux/random.h>
Substitute the inclusion of <linux/random.h> header with <linux/prandom.h> to allow the removal of legacy inclusion of <linux/prandom.h> from <linux/random.h>. Signed-off-by: Uros Bizjak <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: John Fastabend <[email protected]> Cc: Andrii Nakryiko <[email protected]> Cc: Martin KaFai Lau <[email protected]> Cc: Eduard Zingerman <[email protected]> Cc: Song Liu <[email protected]> Cc: Yonghong Song <[email protected]> Cc: KP Singh <[email protected]> Cc: Stanislav Fomichev <[email protected]> Cc: Hao Luo <[email protected]> Cc: Jiri Olsa <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent aa3ab33 commit aaedc2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/bpf/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <linux/filter.h>
2222
#include <linux/skbuff.h>
2323
#include <linux/vmalloc.h>
24-
#include <linux/random.h>
24+
#include <linux/prandom.h>
2525
#include <linux/bpf.h>
2626
#include <linux/btf.h>
2727
#include <linux/objtool.h>

0 commit comments

Comments
 (0)