]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: net: bpf: fix stack alignment
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 13 Jan 2018 16:10:07 +0000 (16:10 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 17 Jan 2018 19:36:43 +0000 (19:36 +0000)
commitdf1f5f7b71d8315e8e5d1083487e3be89d55858f
treead26dd35eea603c5bc13512692179a67ebc57aab
parent15648f43b393b3e7bf828c9372696608ccd79d48
ARM: net: bpf: fix stack alignment

As per 9fd418159960 ("ARM EABI: stack pointer must be 64-bit aligned
after a CPU exception") the stack should be aligned to a 64-bit boundary
on EABI systems.  Ensure that the eBPF JIT appropraitely aligns the
stack.

Fixes: 3b9837afcaa3 ("arm: eBPF JIT compiler")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/net/bpf_jit_32.c