diff options
| -rw-r--r-- | arch/mips/net/bpf_jit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/net/bpf_jit.c b/arch/mips/net/bpf_jit.c index 500f97fdc0e1..a4d1b76e7373 100644 --- a/arch/mips/net/bpf_jit.c +++ b/arch/mips/net/bpf_jit.c | |||
| @@ -1317,7 +1317,7 @@ jmp_cmp: | |||
| 1317 | off = offsetof(struct sk_buff, vlan_tci); | 1317 | off = offsetof(struct sk_buff, vlan_tci); |
| 1318 | emit_half_load(r_s0, r_skb, off, ctx); | 1318 | emit_half_load(r_s0, r_skb, off, ctx); |
| 1319 | if (code == (BPF_ANC | SKF_AD_VLAN_TAG)) | 1319 | if (code == (BPF_ANC | SKF_AD_VLAN_TAG)) |
| 1320 | emit_andi(r_A, r_s0, VLAN_VID_MASK, ctx); | 1320 | emit_andi(r_A, r_s0, (u16)~VLAN_TAG_PRESENT, ctx); |
| 1321 | else | 1321 | else |
| 1322 | emit_andi(r_A, r_s0, VLAN_TAG_PRESENT, ctx); | 1322 | emit_andi(r_A, r_s0, VLAN_TAG_PRESENT, ctx); |
| 1323 | break; | 1323 | break; |
