linux_old1/arch/mips/net
Colin Ian King 4a00aa0577 MIPS,bpf: fix missing break in switch statement
There is a missing break causing a fall-through and setting
ctx.use_bbit_insns to the wrong value. Fix this by adding the
missing break.

Detected with cppcheck:
"Variable 'ctx.use_bbit_insns' is reassigned a value before the old
one has been used. 'break;' missing?"

Fixes: 8d8d18c328 ("MIPS,bpf: Fix using smp_processor_id() in preemptible splat.")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-22 16:18:00 -07:00
..
Makefile MIPS: Add support for eBPF JIT. 2017-06-28 12:22:39 +02:00
bpf_jit.c MIPS: BPF: Quit clobbering callee saved registers in JIT code. 2017-04-10 11:56:05 +02:00
bpf_jit.h MIPS: BPF: Introduce BPF ASM helpers 2015-06-21 21:54:25 +02:00
bpf_jit_asm.S MIPS: BPF: Fix multiple problems in JIT skb access helpers. 2017-04-10 11:56:05 +02:00
ebpf_jit.c MIPS,bpf: fix missing break in switch statement 2017-08-22 16:18:00 -07:00