]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
s390: use expoline thunks in the BPF JIT
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 23 Apr 2018 12:31:36 +0000 (14:31 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 May 2018 19:12:43 +0000 (21:12 +0200)
commitde5cb6eb514ebe241e3edeb290cb41deb380b81d
tree67d7c8cfa87e8ea7cfcd35e43efa325815f27106
parent6deaa3bbca804b2a3627fd685f75de64da7be535
s390: use expoline thunks in the BPF JIT

The BPF JIT need safe guarding against spectre v2 in the sk_load_xxx
assembler stubs and the indirect branches generated by the JIT itself
need to be converted to expolines.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/net/bpf_jit.S
arch/s390/net/bpf_jit_comp.c