Searched hist:aaffd2f5c3d58f154ca7b3d104a2ee6b6e40bc6b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/net/ |
H A D | bpf_jit_32.c | diff aaffd2f5c3d58f154ca7b3d104a2ee6b6e40bc6b Wed Jul 11 04:32:22 CDT 2018 Russell King <rmk+kernel@armlinux.org.uk> ARM: net: bpf: avoid reloading 'index'
Avoid reloading 'index' after we have validated it - it remains in tmp2[1] up to the point that we begin the code to index the pointer array, so with a little rearrangement of the registers, we can use the already loaded value.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|