linux-sg2042/arch/x86/net
Wang YanQing 9e4e5b5c86 bpf, x32: Fix regression caused by commit 24dea04767
Commit 24dea04767 ("bpf, x32: remove ld_abs/ld_ind")
removed the 4 /* Extra space for skb_copy_bits buffer */
from _STACK_SIZE, but it didn't fix the concerned code
in emit_prologue and emit_epilogue, and this error will
bring very strange kernel runtime errors. This patch
fixes it.

Fixes: 24dea04767 ("bpf, x32: remove ld_abs/ld_ind")
Reported-by: Meelis Roos <mroos@linux.ee>
Bisected-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-07-26 02:51:12 +02:00
..
Makefile bpf, x64: remove ld_abs/ld_ind 2018-05-03 16:49:19 -07:00
bpf_jit_comp.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
bpf_jit_comp32.c bpf, x32: Fix regression caused by commit 24dea04767 2018-07-26 02:51:12 +02:00