diff options
| author | Markos Chandras <[email protected]> | 2014-06-23 10:38:52 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2014-06-26 10:48:21 +0100 |
| commit | 6e86c59d4d0d04e7ebefd05b8af245c968892f81 (patch) | |
| tree | 1e144d5ff5a30b65ac01ee146bbcd444e1137741 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
| parent | 1ab24a4e3de1ec37d8ed255841d2d94d77e8a4f4 (diff) | |
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 <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7127/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions