From: Alexei Starovoitov <a...@plumgrid.com>
Date: Mon,  1 Jun 2015 22:48:34 -0700

> From: Michael Holzheu <holz...@linux.vnet.ibm.com>
> 
> On s390x we have to provide 160 bytes stack space before we can call
> the next function. From the 160 bytes that we got from the previous
> function we only use 11 * 8 bytes and have 160 - 11 * 8 bytes left.
> Currently for BPF we allocate additional 160 - 11 * 8 bytes for the
> next function. This is wrong because then the next function only gets:
> 
>  (160 - 11 * 8) + (160 - 11 * 8) = 2 * 72 = 144 bytes
> 
> Fix this and allocate enough memory for the next function.
> 
> Fixes: 054623105728 ("s390/bpf: Add s390x eBPF JIT compiler backend")
> Signed-off-by: Michael Holzheu <holz...@linux.vnet.ibm.com>
> Acked-by: Heiko Carstens <heiko.carst...@de.ibm.com>
> Signed-off-by: Alexei Starovoitov <a...@plumgrid.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to