diff options
author | Wang YanQing <udknight@gmail.com> | 2018-05-11 06:06:34 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-06-05 11:46:13 +0300 |
commit | 2b589a7e2bd3eb610a4b7f5e61393481755a4de9 (patch) | |
tree | a9e0ebdb78fa6530ee26bf7c546bef6e5482ed5f /arch/arm/mach-imx | |
parent | 34ea38ca27991466a8fff849514b4181b42ae2eb (diff) | |
download | linux-2b589a7e2bd3eb610a4b7f5e61393481755a4de9.tar.xz |
bpf, arm32: correct check_imm24
imm24 is signed, so the right range is:
[-(1<<(24 - 1)), (1<<(24 - 1)) - 1]
Note: this patch also fix a typo.
Fixes: 39c13c204bb1 ("arm: eBPF JIT compiler")
Signed-off-by: Wang YanQing <udknight@gmail.com>
Cc: Shubham Bansal <illusionist.neo@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux@armlinux.org.uk
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'arch/arm/mach-imx')
0 files changed, 0 insertions, 0 deletions