Fix BPF code/JITs to allow for separate VLAN_PRESENT flag storage and finally move the flag to separate storage in skbuff. This is final step to make CLAN.CFI transparent to core Linux networking stack. An #ifdef is introduced temporarily to mark fragments masking VLAN_TAG_PRESENT. This is removed altogether in the final patch. --- Michał Mirosław (6): net/skbuff: add macros for VLAN_PRESENT bit net/bpf: split VLAN_PRESENT bit handling from VLAN_TCI net/bpf_jit: MIPS: split VLAN_PRESENT bit handling from VLAN_TCI net/bpf_jit: PPC: split VLAN_PRESENT bit handling from VLAN_TCI net/bpf_jit: SPARC: split VLAN_PRESENT bit handling from VLAN_TCI net: remove VLAN_TAG_PRESENT arch/mips/net/bpf_jit.c | 18 ++++++++--------- arch/powerpc/net/bpf_jit_comp.c | 15 +++++++------- arch/sparc/net/bpf_jit_comp_32.c | 13 ++++++------ include/linux/if_vlan.h | 11 ++++++----- include/linux/skbuff.h | 10 +++++++++- lib/test_bpf.c | 14 +++++++------ net/core/filter.c | 34 ++++++++++++++------------------ 7 files changed, 60 insertions(+), 55 deletions(-) -- 2.19.1