]> 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)
commit488261422bb4bbed1eab514c34cae087f18509be
treecaafcf8aaad2b90c0ee983f87aee1b92bbb01c75
parent06db4a08ecb1cbcca7f5311507efd28312b54e87
ARM: net: bpf: clarify tail_call index

As per ff710862b9c6 ("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: d3c26ea1e931 ("arm: eBPF JIT compiler")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/net/bpf_jit_32.c