]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: net: bpf: clarify tail_call index
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 13 Jan 2018 12:11:26 +0000 (12:11 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 17 Jan 2018 19:39:10 +0000 (19:39 +0000)
commite4db0a26d630f43eb3c39ba3e7e465034d6dc13e
treecaafcf8aaad2b90c0ee983f87aee1b92bbb01c75
parented745e39a3ea1a23f3c7f80fca01997b28aaf69f
ARM: net: bpf: clarify tail_call index

As per 6c6a450e3709 ("bpf: fix bpf_tail_call() x64 JIT"), the index used
for array lookup is defined to be 32-bit wide. Update a misleading
comment that suggests it is 64-bit wide.

Fixes: 3b9837afcaa3 ("arm: eBPF JIT compiler")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/net/bpf_jit_32.c