diff options
author | Wang YanQing <[email protected]> | 2018-05-11 11:06:34 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-06-05 10:46:13 +0200 |
commit | 2b589a7e2bd3eb610a4b7f5e61393481755a4de9 (patch) | |
tree | a9e0ebdb78fa6530ee26bf7c546bef6e5482ed5f /scripts/bpf_helpers_doc.py | |
parent | 34ea38ca27991466a8fff849514b4181b42ae2eb (diff) |
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 <[email protected]>
Cc: Shubham Bansal <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions