]> git.baikalelectronics.ru Git - kernel.git/commit
s390/bpf: Use bcr 0,%0 as tail call nop filler
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 2 Jun 2020 17:45:55 +0000 (19:45 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 2 Jun 2020 19:04:04 +0000 (21:04 +0200)
commitc24638d2349b61e9a83786b5db26473d489cbb3b
tree8f04f223a9c990e9cd2c829f9b3d06b62da152ce
parentb7bf8cbaf5c58f64f58f950a6eb8f23e2f436cf0
s390/bpf: Use bcr 0,%0 as tail call nop filler

Currently used 0x0000 filler confuses bfd disassembler, making bpftool
prog dump xlated output nearly useless. Fix by using a real instruction.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200602174555.2501389-1-iii@linux.ibm.com
arch/s390/net/bpf_jit_comp.c