projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bpf: Revert bpf_overrid_function() helper changes.
[linux-block.git]
/
kernel
/
bpf
/
core.c
diff --git
a/kernel/bpf/core.c
b/kernel/bpf/core.c
index 271daad31f376b3ef5d12cd651ec94e9ffa746d7..8a6c37762330f5d8f49214061e733f93e3c6a217 100644
(file)
--- a/
kernel/bpf/core.c
+++ b/
kernel/bpf/core.c
@@
-1326,9
+1326,6
@@
EVAL4(PROG_NAME_LIST, 416, 448, 480, 512)
bool bpf_prog_array_compatible(struct bpf_array *array,
const struct bpf_prog *fp)
{
- if (fp->kprobe_override)
- return false;
-
if (!array->owner_prog_type) {
/* There's no owner yet where we could check for
* compatibility.