aboutsummaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorRussell King2018-01-13 21:06:16 +0000
committerRussell King2018-01-17 19:38:21 +0000
commitec19e02b343db991d2d1610c409efefebf4e2ca9 (patch)
treec631847a3e173367ef9ec46d38d1ebc4a4815278 /mm/truncate.c
parent02088d9b392f605c892894b46aa8c83e3abd0115 (diff)
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 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions