summaryrefslogtreecommitdiff
path: root/arch/s390/net
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2019-11-07 11:03:49 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-11-07 16:01:34 +0100
commit7e22077d0c73a68ff3fd8b3d2f6564fcbcf8cb23 (patch)
tree341749de11e136cd25048774bc1ccbc765172fbf /arch/s390/net
parent85d31dd07002315c0d1816543fdc392c8cc6b73a (diff)
tools, bpf_asm: Warn when jumps are out of range
When compiling larger programs with bpf_asm, it's possible to accidentally exceed jt/jf range, in which case it won't complain, but rather silently emit a truncated offset, leading to a "happy debugging" situation. Add a warning to help detecting such issues. It could be made an error instead, but this might break compilation of existing code (which might be working by accident). Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20191107100349.88976-1-iii@linux.ibm.com
Diffstat (limited to 'arch/s390/net')
0 files changed, 0 insertions, 0 deletions