Re: [PATCH] bpf, x32: Fix regression caused by commit 24dea04767e6

From: mroos
Date: Sat Jul 28 2018 - 03:23:34 EST


> Commit 24dea04767e6 ("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 fix it.

For the record:

Tested it on top of 4.18.0-rc6-00192-g864af0d40cdc on the affected
machine and it worked.

--
Meelis Roos (mroos@xxxxxxxx)