linux/arch/mips/net
David Daney 64b2dd3a8b MIPS: BPF: Use unsigned access for unsigned SKB fields.
The SKB vlan_tci and queue_mapping fields are unsigned, don't sign
extend these in the BPF JIT.  In the vlan_tci case, the value gets
masked so the change is not needed for correctness, but do it anyway
for agreement with the types defined in struct sk_buff.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Steven J. Hill <steven.hill@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15746/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-04-10 11:56:05 +02:00
..
bpf_jit_asm.S MIPS: BPF: Fix load delay slots. 2015-10-02 09:48:57 +02:00
bpf_jit.c MIPS: BPF: Use unsigned access for unsigned SKB fields. 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
Makefile MIPS: BPF: Introduce BPF ASM helpers 2015-06-21 21:54:25 +02:00