|
@@ -27,6 +27,7 @@
|
|
#include <linux/random.h>
|
|
#include <linux/random.h>
|
|
#include <linux/moduleloader.h>
|
|
#include <linux/moduleloader.h>
|
|
#include <linux/bpf.h>
|
|
#include <linux/bpf.h>
|
|
|
|
+#include <linux/frame.h>
|
|
|
|
|
|
#include <asm/unaligned.h>
|
|
#include <asm/unaligned.h>
|
|
|
|
|
|
@@ -649,6 +650,7 @@ load_byte:
|
|
WARN_RATELIMIT(1, "unknown opcode %02x\n", insn->code);
|
|
WARN_RATELIMIT(1, "unknown opcode %02x\n", insn->code);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
+STACK_FRAME_NON_STANDARD(__bpf_prog_run); /* jump table */
|
|
|
|
|
|
bool bpf_prog_array_compatible(struct bpf_array *array,
|
|
bool bpf_prog_array_compatible(struct bpf_array *array,
|
|
const struct bpf_prog *fp)
|
|
const struct bpf_prog *fp)
|