diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2018-11-10 19:58:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-16 19:25:29 -0800 |
commit | 0c4b2d370514cb4f3454dd3b18f031d2651fab73 (patch) | |
tree | 83c96b0c5bbf7c311fcee1ee1949c253d093fe57 /arch/mips/net | |
parent | 4b50d23179737e4b5f5f16e4bb58bedcf437addc (diff) |
net: remove VLAN_TAG_PRESENT
Replace VLAN_TAG_PRESENT with single bit flag and free up
VLAN.CFI overload. Now VLAN.CFI is visible in networking stack
and can be passed around intact.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips/net')
-rw-r--r-- | arch/mips/net/bpf_jit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/net/bpf_jit.c b/arch/mips/net/bpf_jit.c index de4c6372ad9a..3a0e34f4e615 100644 --- a/arch/mips/net/bpf_jit.c +++ b/arch/mips/net/bpf_jit.c @@ -1164,9 +1164,6 @@ jmp_cmp: vlan_tci) != 2); off = offsetof(struct sk_buff, vlan_tci); emit_half_load_unsigned(r_A, r_skb, off, ctx); -#ifdef VLAN_TAG_PRESENT - emit_andi(r_A, r_A, (u16)~VLAN_TAG_PRESENT, ctx); -#endif break; case BPF_ANC | SKF_AD_VLAN_TAG_PRESENT: ctx->flags |= SEEN_SKB | SEEN_A; |