Skip to content
Commit 9e4e5b5c authored by Wang YanQing's avatar Wang YanQing Committed by Daniel Borkmann
Browse files

bpf, x32: Fix regression caused by commit 24dea047



Commit 24dea047 ("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: 24dea047 ("bpf, x32: remove ld_abs/ld_ind")
Reported-by: default avatarMeelis Roos <mroos@linux.ee>
Bisected-by: default avatarMeelis Roos <mroos@linux.ee>
Signed-off-by: default avatarWang YanQing <udknight@gmail.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 684cce1c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment