diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-14 00:06:16 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-17 22:38:21 +0300 |
commit | ec19e02b343db991d2d1610c409efefebf4e2ca9 (patch) | |
tree | c631847a3e173367ef9ec46d38d1ebc4a4815278 /virt | |
parent | 02088d9b392f605c892894b46aa8c83e3abd0115 (diff) | |
download | linux-ec19e02b343db991d2d1610c409efefebf4e2ca9.tar.xz |
ARM: net: bpf: fix LDX instructions
When the source and destination register are identical, our JIT does not
generate correct code, which leads to kernel oopses.
Fix this by (a) generating more efficient code, and (b) making use of
the temporary earlier if we will overwrite the address register.
Fixes: 39c13c204bb1 ("arm: eBPF JIT compiler")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions