kernel_optimize_test/arch/mips/net
Markos Chandras 6e86c59d4d MIPS: bpf: Use correct mask for VLAN_TAG case
Using VLAN_VID_MASK is not correct to get the vlan tag. Use
~VLAN_PRESENT_MASK instead and make sure it's u16 so the top 16-bits
will be removed. This will ensure that the emit_andi() code will not
treat this as a big 32-bit unsigned value.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: netdev@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7127/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-06-26 10:48:21 +01:00
..
bpf_jit.c MIPS: bpf: Use correct mask for VLAN_TAG case 2014-06-26 10:48:21 +01:00
bpf_jit.h MIPS: net: Add BPF JIT 2014-05-30 16:10:20 +02:00
Makefile MIPS: net: Add BPF JIT 2014-05-30 16:10:20 +02:00