commit | aaffd2f5c3d58f154ca7b3d104a2ee6b6e40bc6b | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Wed Jul 11 10:32:22 2018 +0100 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Jul 12 20:45:23 2018 +0200 |
tree | a4607bc0ea818a20af3453d6b8aba221dc686efd | |
parent | 2b6958ef1151452cb2160fde75a5c5382b512c34 [diff] |
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>