commit | 0fcd593b943bfcc21ad84d3321422401de071d8a | [log] [tgz] |
---|---|---|
author | Yang Shi <yang.shi@linaro.org> | Thu Nov 12 13:57:00 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 16 14:38:42 2015 -0500 |
tree | 8f39ef257eb47c668f0f4643856aa48e109f9bed | |
parent | 7729b053814ac91af340f5055970afc87d7fee21 [diff] |
arm64: bpf: fix JIT frame pointer setup 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@gmail.com> CC: Xi Wang <xi.wang@gmail.com> Signed-off-by: Yang Shi <yang.shi@linaro.org> Reviewed-by: Zi Shen Lim <zlim.lnx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>