diff options
author | David S. Miller <davem@davemloft.net> | 2017-11-11 18:24:55 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-11 18:24:55 +0900 |
commit | f3edacbd697f94a743fff1a3d26910ab99948ba7 (patch) | |
tree | c185057f2e3ae783ad3ccd5b5b96af200d2eb618 /kernel/bpf/core.c | |
parent | bee955cd3ab4f1a1eb8fc16e7ed69364143df8d7 (diff) | |
download | linux-f3edacbd697f94a743fff1a3d26910ab99948ba7.tar.bz2 |
bpf: Revert bpf_overrid_function() helper changes.
NACK'd by x86 maintainer.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/core.c')
-rw-r--r-- | kernel/bpf/core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index 271daad31f37..8a6c37762330 100644 --- 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. |