diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-13 21:06:16 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-17 19:38:21 +0000 |
commit | ec19e02b343db991d2d1610c409efefebf4e2ca9 (patch) | |
tree | c631847a3e173367ef9ec46d38d1ebc4a4815278 /sound/ac97_bus.c | |
parent | 02088d9b392f605c892894b46aa8c83e3abd0115 (diff) | |
download | lwn-ec19e02b343db991d2d1610c409efefebf4e2ca9.tar.gz lwn-ec19e02b343db991d2d1610c409efefebf4e2ca9.zip |
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 'sound/ac97_bus.c')
0 files changed, 0 insertions, 0 deletions