diff options
Diffstat (limited to 'arch/s390/net/bpf_jit_comp.c')
| -rw-r--r-- | arch/s390/net/bpf_jit_comp.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/net/bpf_jit_comp.c b/arch/s390/net/bpf_jit_comp.c index 4ecf6d687509..01c6fbc3e85b 100644 --- a/arch/s390/net/bpf_jit_comp.c +++ b/arch/s390/net/bpf_jit_comp.c @@ -24,6 +24,7 @@  #include <linux/bpf.h>  #include <asm/cacheflush.h>  #include <asm/dis.h> +#include <asm/set_memory.h>  #include "bpf_jit.h"  int bpf_jit_enable __read_mostly; @@ -990,7 +991,7 @@ static noinline int bpf_jit_insn(struct bpf_jit *jit, struct bpf_prog *fp, int i  		}  		break;  	} -	case BPF_JMP | BPF_CALL | BPF_X: +	case BPF_JMP | BPF_TAIL_CALL:  		/*  		 * Implicit input:  		 *  B1: pointer to ctx @@ -1328,6 +1329,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)  	bpf_jit_binary_lock_ro(header);  	fp->bpf_func = (void *) jit.prg_buf;  	fp->jited = 1; +	fp->jited_len = jit.size;  free_addrs:  	kfree(jit.addrs);  out:  |