summaryrefslogtreecommitdiff
path: root/kernel/bpf
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2021-05-28 13:37:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-03 08:38:06 +0200
commitc905bfe767e98a13dd886bf241ba9ee0640a53ff (patch)
tree320aacc8ef9c501fb77fb44dd9c16245557a98ce /kernel/bpf
parent737f5f3a633518feae7b2793f4666c67e39bcc5a (diff)
selftests/bpf: add selftest part of "bpf: improve verifier branch analysis"
Backport the missing selftest part of commit 7da6cd690c43 ("bpf: improve verifier branch analysis") in order to fix the following test_verifier failures: ... Unexpected success to load! 0: (b7) r0 = 0 1: (75) if r0 s>= 0x0 goto pc+1 3: (95) exit processed 3 insns (limit 131072), stack depth 0 Unexpected success to load! 0: (b7) r0 = 0 1: (75) if r0 s>= 0x0 goto pc+1 3: (95) exit processed 3 insns (limit 131072), stack depth 0 ... The changesets apply with a minor context difference. Fixes: 7da6cd690c43 ("bpf: improve verifier branch analysis") Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions