OpenCloudOS-Kernel/arch/s390/net
Daniel Borkmann 9437964885 s390/bpf: remove redundant check for non-null image
After we already allocated the jit.prg_buf image via
bpf_jit_binary_alloc() and filled it out with instructions,
jit.prg_buf cannot be NULL anymore. Thus, remove the
unnecessary check. Tested on s390x with test_bpf module.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-01-16 07:27:55 +01:00
..
Makefile s390/bpf,jit: BPF Just In Time compiler for s390 2012-09-26 15:44:49 +02:00
bpf_jit.S s390/bpf: Add s390x eBPF JIT compiler backend 2015-04-15 12:23:49 +02:00
bpf_jit.h s390/bpf: fix recache skb->data/hlen for skb_vlan_push/pop 2016-05-19 09:14:27 +02:00
bpf_jit_comp.c s390/bpf: remove redundant check for non-null image 2017-01-16 07:27:55 +01:00