[PATCH 1/2] arm64: bpf: fix JIT frame pointer setup

Z Lim zlim.lnx at gmail.com
Thu Nov 12 19:21:13 PST 2015


On Thu, Nov 12, 2015 at 1:57 PM, Yang Shi <yang.shi at linaro.org> wrote:
> BPF fp should point to the top of the BPF prog stack. The original
> implementation made it point to the bottom incorrectly.
> Move A64_SP to fp before reserve BPF prog stack space.
>
> CC: Zi Shen Lim <zlim.lnx at gmail.com>
> CC: Xi Wang <xi.wang at gmail.com>
> Signed-off-by: Yang Shi <yang.shi at linaro.org>
> ---

Reviewed-by: Zi Shen Lim <zlim.lnx at gmail.com>

Also,

Fixes: e54bcde3d69d ("arm64: eBPF JIT compiler")
Cc: <stable at vger.kernel.org> # 3.18+



More information about the linux-arm-kernel mailing list