ARM: net: bpf: fix stack alignment
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 13 Jan 2018 16:10:07 +0000 (16:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jan 2018 13:03:43 +0000 (14:03 +0100)
commitbfd2c2b9915cb3c82743251ab365b64ca2280e19
tree8af36c473a212ca21d63df9b77126d6d2c272e31
parente7119caa7cd93ff4a01788ebd2fc95edeaa16da3
ARM: net: bpf: fix stack alignment

commit d1220efd23484c72c82d5471f05daeb35b5d1916 upstream.

As per 2dede2d8e925 ("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: 39c13c204bb1 ("arm: eBPF JIT compiler")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/net/bpf_jit_32.c