Skip to content
Commit 5ca1ca01 authored by Wang YanQing's avatar Wang YanQing Committed by Alexei Starovoitov
Browse files

bpf, x86_32: Fix logic error in BPF_LDX zero-extension



When verifier_zext is true, we don't need to emit code
for zero-extension.

Fixes: 836256bf ("x32: bpf: eliminate zero extension code-gen")
Signed-off-by: default avatarWang YanQing <udknight@gmail.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200423050637.GA4029@udknight
parent 50fe7ebb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment