]> git.baikalelectronics.ru Git - kernel.git/commit
selftests, bpf: Test that dead ldx_w insns are accepted
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 12 Aug 2021 15:18:11 +0000 (17:18 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 13 Aug 2021 15:46:26 +0000 (17:46 +0200)
commitf02a9437920b05f43d5ea5bd3888d4703b3daf77
tree2f9d76963a250780efba5e72266234e264d36b48
parent94c797646c158e2e7d880e1766388356a29f9b1e
selftests, bpf: Test that dead ldx_w insns are accepted

Prevent regressions related to zero-extension metadata handling during
dead code sanitization.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210812151811.184086-3-iii@linux.ibm.com
tools/testing/selftests/bpf/verifier/dead_code.c