]> 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)
commit673a13b729325fb258a9d7ea2af939e9bee3c150
treead26dd35eea603c5bc13512692179a67ebc57aab
parenta37076b3cd6e74205d367c8b2856d821e8fcab55
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: d3c26ea1e931 ("arm: eBPF JIT compiler")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/net/bpf_jit_32.c